Function fuchsia_async_testloop::new_subloop
source · pub fn new_subloop<F>(fut: F) -> *mut async_test_subloop_twhere
F: Future,
Expand description
Creates a new subloop with an executor running |fut|.
The returned pointer points to a valid async_test_subloop_t
and
must be used according to this structure’s contract.
(see lib/async-testing/test_subloop.h
).