Crate interval_future

Source
Expand description

Implements a wrapper around non-async functions, allowing them to be used within an async context.

Functionsยง

to_future
Creates a new future which wraps a synchronous function f that may be called repeatedly on interval_period until it completes.