FutureHandle

Type Alias FutureHandle 

Source
pub type FutureHandle = u64;
Expand description

A handle to a future on the engine-side.

The handle is untyped because the ffi proc macros do not support generics where we need them. Therefore it is the apis job to keep track of what type the future will actually return and call the corresponding poll and take methods. See e.g. ml::take_future_bool.