[−][src]Function smithy::unwrapped_promise_from_future
pub fn unwrapped_promise_from_future<S, E, impl Future- + 'static>(
future: impl Future- + 'static
) -> UnwrappedPromise<S, E> where
E: 'static,
S: 'static,
impl Future- + 'static: 'static + Future<Item = S, Error = E>,
Converts a future into an UnwrappedPromise
, which causes the
app to re-render when the future succeeds or fails.