Originally at 2014-10-18T10:34:22Z by Herbert Vojčík
There is an implementation of BlockClosure >> fork in Amber, but it is a simulation using parallel setTimeouts. It would be nice to include api that explicitly reify microtask / macrotask principle, possibly coupled with #1098 to have complete forking api group. Project like https://github.com/YuzuJS/setImmediate and https://github.com/kriskowal/asap already do this cross-platform, so it would be just a matter of incorporating them.
Originally at 2014-10-18T10:34:22Z by Herbert Vojčík
There is an implementation of `BlockClosure >> fork` in Amber, but it is a simulation using parallel setTimeouts. It would be nice to include api that explicitly reify microtask / macrotask principle, possibly coupled with #1098 to have complete forking api group. Project like https://github.com/YuzuJS/setImmediate and https://github.com/kriskowal/asap already do this cross-platform, so it would be just a matter of incorporating them.
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5367483-reify-microtasks-and-macrotasks-properly?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2014-10-18T10:34:22Z by Herbert Vojčík
There is an implementation of
BlockClosure >> fork
in Amber, but it is a simulation using parallel setTimeouts. It would be nice to include api that explicitly reify microtask / macrotask principle, possibly coupled with #1098 to have complete forking api group. Project like https://github.com/YuzuJS/setImmediate and https://github.com/kriskowal/asap already do this cross-platform, so it would be just a matter of incorporating them.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.