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
When this crate was initially designed there was no async/await support, as a result the asynchronous logic in this crate is implemented with custom Future impls.
Recently we wanted to make some of the methods on Environment async, e.g. round_data should return a Future as it requires a call to a keystore that may be remote. This small change propagates throughout the crate (e.g. Voter::new needs to become asynchronous) and is not amenable to the current architecture. A redesign to use async/await and not rely on Future implementations would make this change easier to implement.
The text was updated successfully, but these errors were encountered:
When this crate was initially designed there was no
async
/await
support, as a result the asynchronous logic in this crate is implemented with customFuture
impls.Recently we wanted to make some of the methods on
Environment
async, e.g.round_data
should return aFuture
as it requires a call to a keystore that may be remote. This small change propagates throughout the crate (e.g.Voter::new
needs to become asynchronous) and is not amenable to the current architecture. A redesign to useasync
/await
and not rely onFuture
implementations would make this change easier to implement.The text was updated successfully, but these errors were encountered: