StreamUseCase<T, P> class
abstract
Defines a base interface for stream-oriented use cases.
Mirrors the shape of `UseCase<R, P>` but returns a Stream<T>
instead of a Future<R>. Use it for real-time/watch operations.
Contracts:
- Implementations must be cold or well-documented if hot.
- Cancellation must not leak resources; document lifecycle notes.
See also: WatchDocUseCase.
- Implementers
Constructors
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
-
call(
P params) → Stream< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited