You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors thrown from continuations passed to terminal bindings such as forEach(..) and on(..) are silently dropped right now. There should be a mechanism by which such errors can be handled by the programmer.
The programmer is free, of course, to put error handling within the continuation function but this may be counter to expressiveness for unexpected conditions such as out of memory.
The text was updated successfully, but these errors were encountered:
Would be great if this could be scoped. Some ideas:
install a terminal error handler at Async construction
install a terminal error handler in of(..) and broken(..)
install a scope at Async construction, scope designates error handling
install a scope in of(..) and broken(..), scope designates error handling
A primary objective is to keep it simple.
The above ideas could get pretty complex if a promise could have multiple handlers or
scopes. Those could possibly be mitigated by a scoped promise factory but I cringe even
writing those words together.
Errors thrown from continuations passed to terminal bindings such as
forEach(..)
andon(..)
are silently dropped right now. There should be a mechanism by which such errors can be handled by the programmer.The programmer is free, of course, to put error handling within the continuation function but this may be counter to expressiveness for unexpected conditions such as out of memory.
The text was updated successfully, but these errors were encountered: