Repository navigation
Alternative status API #2067
buybackoff
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Current status API with closures and context is very inconvenient, it hides variables inside closure scope and makes it very hard to annotate existing code with processing steps.
This helper took me 5 minutes without AI for a working POC and then some time to get the exact behavior I need:
The usage is:
It's not perfect and will leak if not disposed, but so much better than the existing API as it has zero impact on the existing code. It would be much appreciated to have something like this built-in.
All reactions