//! Quiet operations: while a future runs [`scope`]d, the app's model hooks
//! (observers, listeners registered as `dyn ModelHook<M>`) do not run. The
//! model's own hooks ([`Model::hooks`](crate::Model::hooks): generated
//! behaviour such as workspace scoping) still run, and writes still record
//! their change events for the audit log.
//!
//! Factories create records quietly with `create_quietly`; seeders that ask
//! for it run quietly.
use Future;
task_local!
/// Runs `future` quietly.
pub async
/// Whether the running task is inside a quiet operation (or a seeder that
/// runs without model events, see navree-db's
/// `Seeder::without_model_events`).
pub