BeforeInstrumentedRead typedef

BeforeInstrumentedRead = FutureOr<void> Function(ByteRange range)

Hook invoked after a read is recorded and before it reaches the source.

Tests can return a Future to deliberately hold range reads open and assert concurrent access behavior.

Implementation

typedef BeforeInstrumentedRead = FutureOr<void> Function(io.ByteRange range);