You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each tattoy should be responsible for handling all its errors, logging them and send UI notifications.
Tattoys should always strive to return Ok(()), not doing so should be considered an unhandled error.
Each tattoy should handle its own panics.
Is there a way to unify this? Like if a tattoy implemented a trait that did all this for us? I think the reason is that I got bogged down by async traits and getting them to work with tokio::task::Joinset.join_next().
Ok(())
, not doing so should be considered an unhandled error.Is there a way to unify this? Like if a tattoy implemented a trait that did all this for us? I think the reason is that I got bogged down by async traits and getting them to work with
tokio::task::Joinset.join_next()
.See https://github.com/tombh/tattoy/blob/main/crates/tattoy/src/loader.rs
The text was updated successfully, but these errors were encountered: