[−][src]Crate futurify
A library to help you convert your sync functions into non-blocking thread futures.
Futurify uses Futures 0.3 by default but if you want to use 0.1, you can opt-in by using
the futures_01
feature.
By using futurify
you'll be able to run the closure in a new thread and get the returned value in a future.
Functions
wrap | Wraps a closure to be executed in a separate thread. It will be executed once the returning Future is polled. |
wrap_eager | Similar to |