Re: [whatwg/streams] Add SyncOneToOneTransformFunctionAdaptor example (#843)

This is an idea for an example I had to demonstrate that doing simple things with the API is simple. It wouldn't be good as the first TransformStream example, as that would imply that you should always wrap the API :-)

It includes a couple of nice simple 1:1 transforms.

Open questions:

- Can we come up with a less terrible name for the adaptor?
- Should the adaptor return a TransformStream rather than returning a transformer?
- Should we include this example at all?

-- 
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/843#issuecomment-336916131

Received on Monday, 16 October 2017 15:07:01 UTC