Crate crb_core

source ·
Expand description

The crate includes a universal channel and a function for initiating asynchronous activities.

Re-exports§

Modules§

  • A multi-producer, single-consumer queue for sending values between asynchronous tasks.
  • A one-shot channel is used for sending a single message between asynchronous tasks. The channel function is used to create a Sender and Receiver handle pair that form the channel.
  • Synchronization primitives for use in asynchronous contexts.
  • This module provides a simple wrapper around the tokio::task module.
  • Utilities for tracking time.
  • A multi-producer, multi-consumer channel that only retains the last sent value.

Structs§

  • An owned permission to join on a task (await its termination).

Functions§

  • Spawn a task globally (could be sent between threads).
  • Spawn a task locally (in the same thread).