SessionEventSource class abstract interface

A broadcast of the messages appended to a watched session. The session JSONL is the single source of truth; an implementation tails it (poll or push) and emits what changed.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Stops all watches and releases resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
watch(String sessionId) → Stream<AttachedSessionEvent>
Starts following the session; the stream emits the initial backlog and every message appended afterwards. Never emits an error — a dead watch ends with a done event.

Operators

operator ==(Object other) → bool
The equality operator.
inherited