Session constructor

Session(
  1. SessionStorage _storage, {
  2. Future<List<CustomRecord>> customRecordScan(
    1. Set<String> types
    )?,
})

Creates a Session over storage. customRecordScan, when given (the JSONL repo injects itself), lets the session read custom records RESIDENCY can hide — the windowed tail drops side-leaf and below-tail records from getEntries() (issue #488 class), while the raw scan streams the whole file chain. The obligations ledger's projection fallback is the consumer.

Implementation

Session(this._storage, {this.customRecordScan});