pub fn promise_result_as_success() -> Option<Vec<u8>>
Expand description

Returns the result of the promise if successful. Otherwise returns None. Fails if called outside a callback that received 1 promise result.