cloudflare / cloudflare/partykit
Should onError be an async function?
Open
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Just ran into an issue where I found myself wanting `onError` to be `async` so I could use an `await` in there.
https://github.com/threepointone/partyserver/blob/main/packages/partyserver/src/index.ts#L524
Does this seem reasonable, and if so hopefully it's not a big change?
Contributor guide
Assessment
This issue has not been assessed yet.