Skip to content

Conversation

@nitely
Copy link
Owner

@nitely nitely commented Dec 27, 2024

Somewhat inspired in chronos, but kinda the opposite.

Goal:

  • Make async raises work exactly the same as non-async code.
  • Callbacks must not raise for this to be sane. Albeit, I think code that passes callbacks that raise is broken anyway. It's possible to make this backward compatible, I think. Just deprecate the proc that takes a cb without raises: [], and cast it to untrack raises.
  • Provide a way to pass error typed Futures around. There must be a way to get the error typed future of an async call.
  • Backward compatible

Todo:

PR upstream once it looks like this is even possible.

@nitely nitely marked this pull request as draft December 28, 2024 22:34
@nitely nitely closed this Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants