3 ms·
I didn’t give any examples with block function bodies, of course they are different from what I expressed. You changed the semantics and claim wrongness :/
by eurasiantiger 5y ago
I didn’t give any examples with block function bodies, of course they are different from what I expressed. You changed the semantics and claim wrongness :/
- fregante 5y agoYour words: > One might be tempted to use the thenable interface (don’t!): The code that followed was fine and it had no race condition. > Seems like it would work, but it actually only waits for the promises returned from item() and not the .then() part! This is the wrong part. The blockness is irrelevant.