hasCompletedWithValue property

bool get hasCompletedWithValue

True if this CompletableFuture has completed with a value and not an error.

If this is true, then result is of type CompletableFutureValue.

This is the opposite of hasCompletedWithError.

Implementation

bool get hasCompletedWithValue => _result is CompletableFutureValue<T>;