Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 325 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 325 Bytes

evloop

This example builds on the hf-runner example. It adds a simple event loop, which allows the JavaScript code to register callbacks using setTimeout() and setImmediate(). It also enables micro-task support, which in turn enables WeakRef support.

Usage

evloop <js-file> [<shared-lib> ...]