Module list

Source
Expand description

This module has containers for storing the tasks spawned on a scheduler. The OwnedTasks container is thread-safe but can only store tasks that implement Send. The LocalOwnedTasks container is not thread safe, but can store non-Send tasks.

The collections can be closed to prevent adding new tasks during shutdown of the scheduler with the collection.

Structsยง

LocalOwnedTasks ๐Ÿ”’
OwnedTasks ๐Ÿ”’
OwnedTasksInner ๐Ÿ”’

Staticsยง

NEXT_OWNED_TASKS_ID ๐Ÿ”’

Functionsยง

get_next_id ๐Ÿ”’

Type Aliasesยง

List ๐Ÿ”’