Question about adapting callback to suspend api. I have the following code below adapting javascript
FileReader
to suspend. Does this look good?
• Should I cancel the continuation when the underlying resource is aborted (ie. by the browser) ?
• Is this sequence safe ?