Function near_sdk::utils::promise_result_as_success
source · [−]Expand description
Returns the result of the promise if successful. Otherwise returns None. Fails if called outside a callback that received 1 promise result.