StoppableService class abstract
A service that can be started, paused, resumed, and stopped.
It exposes a reactive status for state tracking and error reporting.
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
-
status
→ LxReactive<
LxStatus> -
Reactive status of the service.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void - Pauses the service.
-
resume(
) → void - Resumes the service.
-
start(
) → void - Starts the service.
-
stop(
) → void - Stops the service gracefully.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited