Daniel Anderson

Results 6 comments of Daniel Anderson

Any plans to dust this off and get it into a release? Yes, I am aware tools can transpile out the optional chaining operator. In practice, jerryscript supports most of...

Control of the node event loop is limited. The loop must be activated with macro tasks or it will sleep. Micro tasks are aggressively drained. raylib can hit vsync, which...

In order for the node application to continue running, it will need a macro task registered. The while loop in the examples needs to be broken up into slices, which...

Also, if top level awaits were possible, something like this would work: ``` r.WindowShouldCloseAsync = () => new Promise((resolve, reject) => setImmediate(() => r.WindowShouldClose())) while (await r.WindowShouldCloseAsync()) { // do...

> Who says we "need a macro task registered" or it "needs to be broken up into slices"? The node event loop that's who. In fact, I will clearImmediate() on...

The babel transpiler might work for your use case. If your final bundle has an export statement, you might have a bad time, as jerryscript does not support newer export...