folly::coro::SharedPromise::setTry

Sets a folly::Try object in the promise.

Synopsis

Declared in <folly/coro/SharedPromise.h>

void
setTry(TryType&& result);

Parameters

NameDescription
resultthe Try result to set