MqttCancellableAsyncSleep class

Cancellable asynchronous sleep support class

Constructors

MqttCancellableAsyncSleep(int _timeout)
Timeout value in milliseconds

Properties

hashCode int
The hash code for this object.
no setterinherited
isRunning bool
Running
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
Timeout
no setter

Methods

cancel() → void
Cancel the timer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sleep() Future<void>
Start the timer
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited