mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-15 00:00:15 +02:00
Sometimes, passing ownership to an executor is necessary. For example, some libraries require taking ownership of one. This patch adds a function that returns an executor associated with a runtime.