Skip to main content

BioDropSender

Type Alias BioDropSender 

Source
pub type BioDropSender = Sender<Vec<Box<Value>>>;
Expand description

Sender half of the runtime’s bio-drop channel. Wired from kevy-rt’s bio.rs via crate::Store::set_bio_drop_sender; the concrete payload is Vec<Box<Value>> — a batch of values produced by one shard since its last flush (A.2 batch-send model). The bio thread (kevy-rt::bio::spawn) iterates the batch and drops each item. One mpsc message per shard-flush amortises the channel cost (atomic + cross-thread cacheline traffic) across however many values landed in the batch.

Aliased Type§

pub struct BioDropSender { /* private fields */ }