MqttCancellableAsyncSleep class
Cancellable asynchronous sleep support class
Constructors
- MqttCancellableAsyncSleep(int _timeout)
- Timeout value in milliseconds
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isRunning → bool
-
Running
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- timeout → int
-
Timeout
read-only
Methods
-
cancel(
) → void - Cancel the timer
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
sleep(
) → Future< void> - Start the timer
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited