Registry / async / lunatic-process-api

lunatic-process-api

JSON →
library0.13.2rscratesunverified

Lunatic host functions for working with processes in the Lunatic runtime.

# Cargo.toml [dependencies] lunatic-process-api = "0.13.2"
INSTALL
IMPORT
SIG · LUNATIC-PROCESS-AP
L
lunatic-process-api
asyncrustv0.13.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Process
use lunatic_process_api::Process;

Spawns and joins a Lunatic process.

use lunatic_process_api::Process; fn main() { let process = Process::spawn(|| { println!("Hello from process"); }); process.join(); }
Debug
Known issues
gotchaRequires Lunatic runtime to execute
fix
Run the binary with the Lunatic runtime (e.g., `lunatic run` or compile with `--target wasm32-wasi`)
affects: >=0.0.0
Upgrade
Version history
0.13.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Bingbot
1
Resources
lunatic-process-api — cargo add lunatic-process-api · libregistry