std:std.fiber.Future<T>

Class Future<T>

Futures provide support for simple fiber synchronization.

A future allows you to synchronize two fibers by providing a way for one fiber to signal to another that an operation has completed.

The general usage pattern of futures is:

A future can only be set once.

Constructors
New Creates a new future.
Methods
Get Gets the future's value.
Set Sets the future's value.