Closed nanderstabel closed 6 months ago
See title
By not being async functions, some of the trait methods force downstream implementations to use futures::executor::block_on in order to add asynchronous code into their method specific implementations, which can cause deadlocks in certain setups.
futures::executor::block_on
Making these methods async prevents that.
n/a
async
Description
See title
Motivation
By not being async functions, some of the trait methods force downstream implementations to use
futures::executor::block_on
in order to add asynchronous code into their method specific implementations, which can cause deadlocks in certain setups.Making these methods async prevents that.
Resources
n/a
To-do List
async