MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / handle_call_event

Method handle_call_event

tests/all/call_hook.rs:553–559  ·  view source on GitHub ↗
(
            &self,
            ctx: StoreContextMut<'_, State>,
            ch: CallHook,
        )

Source from the content-addressed store, hash-verified

551 #[async_trait::async_trait]
552 impl CallHookHandler<State> for HandlerR {
553 async fn handle_call_event(
554 &self,
555 ctx: StoreContextMut<'_, State>,
556 ch: CallHook,
557 ) -> Result<()> {
558 sync_call_hook(ctx, ch)
559 }
560 }
561 let engine = Engine::default();
562 let mut store = Store::new(&engine, State::default());

Callers 1

invoke_call_hookMethod · 0.45

Calls 5

sync_call_hookFunction · 0.85
OkFunction · 0.85
yield_nowFunction · 0.85
DecrementClass · 0.70
data_mutMethod · 0.45

Tested by

no test coverage detected