HostLifetime class abstract

Constructors

HostLifetime.new()

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) Future<void>
Called from Host.stop(cancellationToken) 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) Future<void>
Called at the start of Host.start(cancellationToken) 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