Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async API #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Async API #5

wants to merge 4 commits into from

Conversation

BarionLP
Copy link
Owner

@BarionLP BarionLP commented Jan 9, 2025

Starting async functions from e.g. Select or Consume could be really helpful.

  • Async
  • ValueAsync
  • AsyncSave ?

Main Question is: should the async methods catch errors from the task?

probably yes? no! The developer expects exceptions! exception should never catched implicitly!
a better option would be to have an extra method like AsyncSave
on the other hand, isn't it the options job to keep exceptions away?

@BarionLP BarionLP added the enhancement New feature or request label Jan 9, 2025
@BarionLP BarionLP self-assigned this Jan 9, 2025
@BarionLP BarionLP linked an issue Jan 9, 2025 that may be closed by this pull request
@BarionLP BarionLP mentioned this pull request Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async API
1 participant