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
I use tokio 0.2, I don't use the default executor, so I want a way that can specify the executor when building the pool.
such as
let rt = tokio::Runtime::new().unwrap();let manager = SomeManager();let pool = bb8::Builder().new().with_executor(rt.executor()).build(manager).compat().await?;let result = pool.run(|conn| ()).compat().await?;
The text was updated successfully, but these errors were encountered:
I use tokio 0.2, I don't use the default executor, so I want a way that can specify the executor when building the pool.
such as
The text was updated successfully, but these errors were encountered: