Attribute Macro stack_queue::local_queue

source ·
#[local_queue]
Expand description

Implements LocalQueue from TaskQueue, BackgroundQueue or BatchReducer impl

Attributes

  • #[local_queue(buffer_size = 2048)] specifies the buffer size of LocalQueue. This will be 1024 by default, and must be a power of 2