[−][src]Function futurify::wrap_eager
pub fn wrap_eager<T: Send + 'static, F: FnOnce() -> T + Send + 'static, E: Error>(
wrapped: F
) -> Futurified<T, F, E>
Similar to wrap
but this will execute the closure even if the
future is never polled.
See wrap
for more details.