Open toplinuxsir opened 3 years ago
personally I pass a tokio::runtime::Handle
to whatever impl Handler
, that way I can use that Handle to spawn a new future by a call, and use callback functions from TIS in order to finally resolve these promises.
Any Example for rust green thread await async ? Thanks!