Skip to main content

emit_ingest_wasm

Macro emit_ingest_wasm 

Source
macro_rules! emit_ingest_wasm {
    ($($name:ident),* $(,)?) => { ... };
}
Expand description

Emits one #[wasm_bindgen_test] per ingest rule.

The caller’s crate needs wasm-bindgen-test in its dev-dependencies, gated on cfg(target_arch = "wasm32"). A skip is logged through console_log! rather than reported on stdout, which writes nowhere on that target: emit_sync_wasm!’s twin. This is the harness the Durable Object’s ingest store runs the family under.