wrpc_interface_http::bindings::wasi::clocks::monotonic_clock

Function subscribe_duration

source
pub fn subscribe_duration<'a, C: Invoke>(
    wrpc__: &'a C,
    cx__: C::Context,
    when: u64,
) -> impl Future<Output = Result<ResourceOwn<Pollable>>> + Send + 'a
Expand description

Create a pollable which will resolve once the given duration has elapsed, starting at the time at which this function was called. occured.