ToAsyncFunction
trait · ferroui-reactive · v0.5.0
trait ToAsyncFunction<Args, R>
A closure of Args (a tuple of its argument types) returning R, which
Observable::to_async turns into an asynchronous function (ToAsync(Func<.., TResult>),
ToAsync(Action<..>) for R = ()).
Members
Async
type Async
The asynchronous function: Rc<dyn Fn(A1, .., An) -> Rc<dyn IObservable<R>>>.
to_async_on
fn to_async_on(self: Self, scheduler: Rc<dyn IScheduler>) -> <Self as >::Async
The asynchronous function whose calls run this one on scheduler (ToAsync(.., IScheduler)).
Trait implementations
ToAsyncFunction<(), R>ToAsyncFunction<(A1,), R>ToAsyncFunction<(A1, A2), R>ToAsyncFunction<(A1, A2, A3), R>ToAsyncFunction<(A1, A2, A3, A4), R>ToAsyncFunction<(A1, A2, A3, A4, A5), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15), R>ToAsyncFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16), R>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.