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