An extension trait to allow determining at compile time how tasks are spawned on the Tokio
runtime.
In most cases the Future task to be spawned should implement Send, but that’s
not possible when compiling for the Web. In that case, the task is spawned on the
browser event loop.