Re: [whatwg/streams] Add an example of a transform stream that replaces template tags (#846)

For an async one, an easy idea that comes to mind is expanding the mapper to allow async functions, e.g. `async transform(chunk, controller) { controller.enqueue(await mapper(chunk)); }`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/846#issuecomment-338654153

Received on Monday, 23 October 2017 13:13:16 UTC