Example for rust green thread await async ?
toplinuxsir opened this issue · 1 comments
toplinuxsir commented
Any Example for rust green thread await async ?
Thanks!
SonnyX commented
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.