I couldn't find any information on actually using this crate. An example script file or at least a snippet of using it somewhere would help a ton.
My use case (not sure if it fits the scope of the crate):
I'm trying to use it as a replacement for tokio::runtime::Runtime that will also work on the browser, but after constructing it and calling .spawn_pinned(..) on it, I'm unsure what to do with the runtime. "Normally" I would call .block_on(..) on this runtime in the main function, but that method seems to be missing..
I couldn't find any information on actually using this crate. An example script file or at least a snippet of using it somewhere would help a ton.
My use case (not sure if it fits the scope of the crate):
I'm trying to use it as a replacement for
tokio::runtime::Runtimethat will also work on the browser, but after constructing it and calling.spawn_pinned(..)on it, I'm unsure what to do with the runtime. "Normally" I would call.block_on(..)on this runtime in themainfunction, but that method seems to be missing..