Tracks host lifetime.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
CancellationToken cancellationToken) → Task - Called from Host.stop to indicate that the host is stopping and it's time to shut down.
-
toString(
) → String -
A string representation of this object.
inherited
-
waitForStart(
CancellationToken cancellationToken) → Task - Called at the start of Host.start which will wait until it's complete before continuing. This can be used to delay startup until signaled by an external event.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited