SocketDev / wormhole-crypto

Streaming encryption for Wormhole.app, based on Encrypted Content-Encoding for HTTP (RFC 8188)
MIT License
601 stars 41 forks source link

Return a promise from transformStream shim #21

Closed jhiesey closed 3 years ago

jhiesey commented 3 years ago

This makes it possible to determine when a stream is done and whether it was successful, similar to the promise returned by native ReadableStream.pipeTo