embassy_sync

Module priority_channel

Source
Expand description

A queue for sending values between asynchronous tasks.

Similar to a Channel, however PriorityChannel sifts higher priority items to the front of the queue. Priority is determined by the Ord trait. Priority behavior is determined by the Kind parameter of the channel.

Structs§

Enums§

Traits§

  • The binary heap kind: min-heap or max-heap