//! Sample sink: receives each sample when the engine records it.
use Sample;
/// Receives each measurement sample when the engine records it.
///
/// The engine calls the sink between samples, outside every timed region.
/// The worker uses a sink to stream samples to the supervisor during measurement.
/// So a timeout or crash keeps the samples taken before it.