Expand description
Procedural macros for exporting functions to WebWorkers.
This crate provides two macros:
webworker_fn: For simple, synchronous functionswebworker_channel_fn: For async functions with bidirectional channel support
Attribute Macrosยง
- webworker_
channel_ fn - A procedural macro that exports an async function with channel support for use with a WebWorker.
- webworker_
fn - A procedural macro that exports a simple function for use with a WebWorker.