folly::SharedPromise::isFulfilled

Checks whether this SharedPromise has been fulfilled.

Synopsis

Declared in <folly/futures/SharedPromise.h>

bool
isFulfilled() const;

Return Value

true if a result has been set, false otherwise.