Over time, I've come to find this struct is super helpful in all sorts of general scenarios.
It's defined internally in dominator as an example here:
I've copy/pasted/exported with permission here: https://docs.rs/dominator_helpers/0.8.0/dominator_helpers/futures/struct.AsyncLoader.html
However, that dominator_helpers crate doesn't really do much, and I often find myself importing it for just AsyncLoader
I think it's a good candidate to make part of dominator core
Over time, I've come to find this struct is super helpful in all sorts of general scenarios.
It's defined internally in dominator as an example here:
rust-dominator/examples/async/src/util.rs
Line 27 in fc93afd
I've copy/pasted/exported with permission here: https://docs.rs/dominator_helpers/0.8.0/dominator_helpers/futures/struct.AsyncLoader.html
However, that
dominator_helperscrate doesn't really do much, and I often find myself importing it for justAsyncLoaderI think it's a good candidate to make part of dominator core