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
If I create an async function in my dynamically loaded library, stabbify it with
#[stabby::stabby]
#[stabby::export]
and await for it in the main, the function panics on the calls to tokio::spawn or tokio::sleep.
I can do an await on another async in this library function though.
tokio::runtime::Handle::try_current() invoked from the library returns an error.
What is the right way to do async in this arrangement?
The text was updated successfully, but these errors were encountered:
If I create an async function in my dynamically loaded library, stabbify it with
#[stabby::stabby]
#[stabby::export]
and await for it in the main, the function panics on the calls to tokio::spawn or tokio::sleep.
I can do an await on another async in this library function though.
tokio::runtime::Handle::try_current() invoked from the library returns an error.
What is the right way to do async in this arrangement?
The text was updated successfully, but these errors were encountered: