Skip to main content

nova_rt_task_timeout_future

Function nova_rt_task_timeout_future 

Source
#[unsafe(no_mangle)]
pub extern "C-unwind" fn nova_rt_task_timeout_future( nanos: i64, fut: *mut u8, ) -> *mut u8
Expand description

A fresh Future<Int> that polls fut until it completes or nanos nanoseconds pass, reporting which happened.

The value is not carried here: the inner future wrote its own output slot, and Nova reads it with task_output on the inner future itself, so nothing moves an i64 that might be a scalar or a pointer.