Re: [whatwg/streams] What should the behaviour of controller.close() be? (#774)

I like terminate(). It's both descriptive and threatening. People won't be quite sure what it does, but that's not necessarily a bad thing. stop() is a great name, but again it has the issue that people might get into the mindset that it is something they should always be calling.

Another option I was considering is exit(), by analogy with how a process in a Unix pipe would perform this operation, but I think it is just too confusing on the web.

-- 
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/774#issuecomment-331440998

Received on Friday, 22 September 2017 13:05:27 UTC