Crate mumuevent

Crate mumuevent 

Source

Functions§

Cargo_lock
event_interval_bridge
event:interval(ms, callback) bridging function with placeholder-based partial usage.
event_loop_bridge
event:loop(cb) bridge. Returns an Int handle. Partial application is not supported here (unlike interval/timeout), but can be added if needed.
event_stop_bridge
event:stop(handle) => stops the recurring interval or loop with that ID, removing it from the loop. If you pass a handle that does not exist or was already canceled, no error occurs.
event_timeout_bridge
The bridging function that implements event:timeout.
push_timeout_task
Helper to be called from timeout.rs when a new timeout is created.
register_all
Register all event:* bridges and install the background poller. This is used by host builds (via the dynamic entrypoint) and by WASM builds where the wrapper calls this directly.