You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit moves the API from a sync call into async functions using async_trait.
We would like to use async operations on hypercore, and it would be nice to have the underlying storage using async-io when possible.
As discussed on #97, we could change the API to use async functions on the 'ram' trait.
Async Trait methods are still unstable, but possible using the 'async-trait' crate through a macro.
This PR moves the API to use async-fns. Tests are passing.
0 commit comments