Fork me on GitHub
#core-async
<
2019-04-06
>
Robert Nikander18:04:28

I'm looking for something like setImmediate or nextTick, in the browser JS environment -- a way to say "run this when the current event is finished processing". setTimeout(f, 0) is too slow. Does (go ...) do this?

leonoel19:04:57

yes it does, and you can also call goog.async.nextTick directly

hiredman21:04:41

If you want nexttick I would call nexttick, I forget if they do but go blocks may execute now up until the first parking op