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

Function wasmtime_call_future_poll

crates/c-api/src/async.rs:200–209  ·  view source on GitHub ↗
(future: &mut wasmtime_call_future_t)

Source from the content-addressed store, hash-verified

198
199#[unsafe(no_mangle)]
200pub extern "C" fn wasmtime_call_future_poll(future: &mut wasmtime_call_future_t) -> bool {
201 match future
202 .underlying
203 .as_mut()
204 .poll(&mut Context::from_waker(Waker::noop()))
205 {
206 Poll::Ready(()) => true,
207 Poll::Pending => false,
208 }
209}
210
211fn handle_call_error(
212 err: wasmtime::Error,

Callers 3

mainFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

pollMethod · 0.45
as_mutMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68