Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
spawn_future
and spawn_future_local
convenience functions
A couple of gtk-rs apps currently use utility functions to make spawning futures less verbose. See: - https://docs.rs/gtk-macros/0.3.0/gtk_macros/macro.spawn.html - https://gitlab.gnome.org/GNOME/loupe/-/blob/main/src/util/mod.rs#L251 Exposing these functions via glib should fulfill that need.
- Loading branch information