Skip to main content

Module coordinated_reader

Module coordinated_reader 

Source
Expand description

SQLite coordinated reader: thin alias over the generic core type.

Why this file is alias-only:

CoordinatedReader<R, Coord> is fully generic in eventuary-core โ€” it composes any partition-aware Reader<R> with any PartitionCoordinator<C> and contains no SQLite-specific code. Every backend therefore only needs pub type aliases to specialize the generic with its own reader and coordinator (SqliteReader + SqlitePartitionCoordinator). The same module path shape (eventuary::sqlite::coordinated_reader::*) is preserved across backends so users learn one structure once.

These aliases shorten call sites โ€” SqliteCoordinatedReader reads better than CoordinatedReader<SqliteReader, SqlitePartitionCoordinator> โ€” and give the umbrella a canonical, discoverable path next to reader, writer, and partition_coordinator modules.

Type Aliasesยง

SqliteCoordinatedAcker
SqliteCoordinatedCursor
SqliteCoordinatedReader
SqliteCoordinatedReaderConfig
SqliteCoordinatedStream
SqliteCoordinatedSubscription