LogTapClient
The test/harness side of a log tap: join a device and read its logs out.
Given a Seam already woven onto the device's session (the harness joins the same us.tractat.kuilt.core.Loom the device hosts on), a client either takes a one-shot pull of everything captured so far or tails the logs live as they arrive. The underlying replication is order-preserving and de-duplicating, so the reconstructed sequence matches the device's, with no repeats — even across a reconnect.
Close the client to release its replicator.
Constructors
Functions
Like pull, but each record carries its ordering StampedLogRecord.rgaId — the producer identity and cross-device total-order key needed to merge several devices' logs into one timeline. Same convergence and timeout semantics as pull; the only difference is that the RGA's per-element ids are surfaced rather than discarded.
Like tail, but each streamed record carries its ordering StampedLogRecord.rgaId — the producer identity and cross-device total-order key needed to merge several devices' logs into one timeline. Emits each record once, in order, replaying everything already known on collection and continuing with newly captured records until the collector is cancelled.