Closed lars-t-hansen closed 7 years ago
What about defer
?
works for me
+1 to waitAsync
, as it falls in line with the names other people seem to use, and consistency is always key.
I have gone with waitAsync for now and updated the proposal, the polyfill, and the example materials. Please reopen if the discussion at the f2f warrants it.
The current method name,
waitNonblocking
, is fairly technical and perhaps oxymoronic? I've been told the name was disliked at the May TC39 meeting, too.In https://github.com/lars-t-hansen/moz-sandbox/issues/1, @leobalter wrote:
I'm happy with whatever, so let the bikeshedding begin! (I have a fondness for
dontWait
which I think was suggested by @allenwb, but I don't think that's going to reduce the confusion any.)EDIT: Typo.