- From: Jonas Sicking <jonas@sicking.cc>
- Date: Mon, 9 Mar 2015 12:29:22 -0700
- To: "Mark S. Miller" <erights@google.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, David Dorwin <ddorwin@google.com>, public-script-coord <public-script-coord@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
On Mon, Mar 9, 2015 at 12:11 PM, Mark S. Miller <erights@google.com> wrote: > That's one of things that's so cool about the Promise constructor pattern: > > var resolver; > var promise = new Promise(r => resolver = r); > > Couldn't this be applies to streams? (I haven't yet followed streams.) Sadly not. Because 'r' still needs to have a constructor. / Jonas
Received on Monday, 9 March 2015 19:30:20 UTC