Home
last modified time | relevance | path

Searched refs:CountPending (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Depoch_interruption.rs3 use crate::async_functions::{CountPending, PollOnce};
77 CountPending::new(Box::pin(f.call_async(&mut store, &[], &mut []))).await; in run_and_count_yields_or_trap()
H A Dasync_functions.rs314 let (_, pending) = CountPending::new(Box::pin(instance)).await; in iloop_with_fuel()
782 pub struct CountPending<F> { struct
787 impl<F> CountPending<F> { argument
788 pub fn new(future: F) -> CountPending<F> { in new()
789 CountPending { future, yields: 0 } in new()
793 impl<F> Future for CountPending<F> implementation