callback-to-async-iterator
callback-to-async-iterator copied to clipboard
Fix onClose
Currently, onClose can get called before the listener is able to produce a value. Also, any error raised in onClose is swallowed if the onClose function is a promise. This merge request attempts to resolve both of those issues.
#26