Future.isResolved

bool isResolved() const @trusted nothrow @nogc

Check whether the future was resolved successfully.

Returns

true if the future was completed with a value.