Promise.future

Future!T future() @safe nothrow @nogc

Get the future associated with this promise.

Returns

A future that will be completed when this promise is resolved or rejected.