ZenithServiceRegistration class
Observable startup and shutdown for a registered service.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastError ↔ Object?
-
Most recent lifecycle failure, also exposed by started or stopped.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
started
→ Future<
void> -
Completes when startup succeeds, or throws its error.
no setter
-
stopped
→ Future<
void> -
Completes after requested shutdown, or throws its error.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → Future< void> - Stops once; if startup is pending, waits before releasing its resources.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited