Replace tokio::runtime::current_thread with tokio::task::LocalSet
Closed this issue · 0 comments
asomers commented
Tokio 0.2.0 removed runtime::current_thread
. The suggested replacement is task::LocalSet
. However, there is as of yet no way to use a LocalSet
from within an asynchronous environment. Until that is fixed, futures-locks is cannot upgrade to tokio 0.2.0.