I'm trying to figure out how to set up an abort handle for a task started with
This earlier thread seems to be what I want to do, however, it's using
async_std instead of
actix and attempting to pass the output of
actix::spawn gives a type mismatch:
type mismatch resolving `<Abortable<impl futures::Future> as futures::Future>::Output == ()` expected unit type `()` found enum `std::result::Result<(), Aborted>`
Is there any way to do this?