callback-to-async-iterator icon indicating copy to clipboard operation
callback-to-async-iterator copied to clipboard

Fix onClose

Open NickClark opened this issue 6 years ago • 1 comments

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.

NickClark avatar Jun 17 '19 20:06 NickClark

#26

NickClark avatar Jun 17 '19 22:06 NickClark