FutureContext<T> class

Object returned when future is executed.

The end of Future can be monitored by waiting.

You can also check if it is finished by pressing done.

The value retrieved from Future can be obtained at value.

futureを実行する際に返されるオブジェクト。

Futureの終了をwaitingで監視することができます。

また、終了したかどうかをdoneで確認することができます。

Futureから取得された値はvalueで取得できます。

Properties

done bool
Return true if future is executed and terminated.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
The value retrieved from Future.
no setter
waiting Future<void>?
Future to monitor the end of the future when it is executed.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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