Documentation / @etherfold/core / replayStream
Function: replayStream() ​
replayStream<
ABI>(fixture):StreamFixtureReader<ABI>
Defined in: packages/core/src/stream/fixture.ts:199
Serve a captured fixture from disk, as a reader that cannot be written to.
The cursor it hands back is the capture's own, whose unconfirmed window is EMPTY (ADR-0035): the window is read from the entity path's serialized cursor, and a stream's copy of it is read by nobody.
Type Parameters ​
ABI ​
ABI extends Abi
Parameters ​
fixture ​
StreamFixture<ABI>
Returns ​
StreamFixtureReader<ABI>