PollGate class
Lets one poll run at a time: /healthz may take 8 s to fail, longer than any interval a page asks at.
Constructors
- PollGate()
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
-
run(
Future< void> poll()) → Future<void> -
Runs
pollunless the one before still waits for its answer. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited