sapling/eden/scm/lib/nonblocking
Jun Wu 1eb5244eb1 nonblocking: add a way to convert async fn to non-blocking sync fn
Summary:
This will make it easier to incrementally migrate APIs to async, and make sync
programs able to use sync interface if they'd like to. For example, the dag
crate is likely going to be async-ize. Its async APIs are only useful for
places where the dag is lazy. It's still possible to have a non-lazy dag
that a sync interface is suitable.

Reviewed By: ikostia

Differential Revision: D24777747

fbshipit-source-id: 6d56149fbd1f9b29f5fc62387cbf194800755d12
2020-12-10 12:37:31 -08:00
..
src nonblocking: add a way to convert async fn to non-blocking sync fn 2020-12-10 12:37:31 -08:00
Cargo.toml nonblocking: add a way to convert async fn to non-blocking sync fn 2020-12-10 12:37:31 -08:00