[][src]Function futurify::wrap_eager

pub fn wrap_eager<T: Send + 'static, F: FnOnce() -> T + Send + 'static + Unpin>(
    wrapped: F
) -> Futurified<T, F>

Similar to wrap but this will execute the closure even if the future is never polled.

See wrap for more details.