62 ms·
> watch out certain libraries using `tokio::spawn` , which will cause panics care to expand on that?
by baby 7y ago
> watch out certain libraries using `tokio::spawn` , which will cause panics
care to expand on that?
- pimeys 7y agotokio::spawn needs to be run from the context of tokio's executor. If you use some other executor, such as juliex, it will panic. This is hopefully solved by the Runtime crate and the crates using it will use a more generic version.