async_rt

Module task

Source

Functionsยง

  • Spawns a new asynchronous task in the background without an handle. Basically the same as spawn.
  • Spawns a new asynchronous task in the background, returning an Future JoinHandle for it.
  • Spawns a new asynchronous task in the background, returning an abortable handle that will cancel the task once the handle is dropped.
  • Spawns a new asynchronous task that accepts messages to the task using channels. This function returns an handle that allows sending a message or if there is no reference to the handle at all (in other words, all handles are dropped), the task would be aborted.
  • Spawns a new asynchronous task with provided context, that accepts messages to the task using channels. This function returns an handle that allows sending a message or if there is no reference to the handle at all (in other words, all handles are dropped), the task would be aborted.
  • Spawns a new asynchronous task that accepts messages to the task using channels. This function returns an handle that allows sending a message or if there is no reference to the handle at all (in other words, all handles are dropped), the task would be aborted.
  • Spawns a new asynchronous task with provided context, that accepts messages to the task using channels. This function returns an handle that allows sending a message or if there is no reference to the handle at all (in other words, all handles are dropped), the task would be aborted.