#Issue with spawning a task for handling streams ; w ;

2 messages · Page 1 of 1 (latest)

digital hull
#
task::spawn(async {
    println!("Async!");
});

Added junk code below the fist task, and it works for some reason?

lucid trellis
#

If you're using bevy's task pools you need to call detach on the task returned from spawn or explicitly poll it for completion