Re: [whatwg/streams] Make it easy to create streams with no underlying source/sink/transformer objects, from specs (#813)

Is there existing standard language for storing "algorithm steps" in a slot, or would we have to invent some? In Javascript and C++ it concretely means storing a bound function. That needs to be reasonably obvious to implementors.

I would also like these algo slots to have associated data, so we don't have a separate slot to store the "pull" function for an underlying source that will be totally unused in a TransformStream.

We also need language for creating a stream object without calling the public constructor.


-- 
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/issues/813#issuecomment-342408445

Received on Tuesday, 7 November 2017 08:22:28 UTC