/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
*/
use crateContextEvent;
/// One item of a stream: the cursor after an event and the event, the error that ended the stream,
/// or `None` when it has ended.
pub type ContextEventItem<Cursor, Error> = ;
/// A stream of events in the order a store committed them.
///
/// Declared here rather than taken from a crate, because the standard library has no stable stream
/// trait and this crate has no dependencies. It is the shape every stream trait reduces to: one
/// asynchronous `next`. A caller holding a stream crate wraps it in a few lines.