Skip to main content

WasmInvoker

Type Alias WasmInvoker 

Source
pub type WasmInvoker = Arc<dyn Fn(String, String, String, String) -> WasmInvokeFuture + Send + Sync>;
Expand description

Callback invoked when a request matches a Wasm trigger. Receives (runtime_id, method, path, body) and returns the response body string.

Aliased Typeยง

pub struct WasmInvoker { /* private fields */ }