pub fn is_promise_success() -> bool
Expand description
Returns true if promise was successful.
Fails if called outside a callback that received 1 promise result.
Uses low-level crate::env::promise_results_count
.
pub fn is_promise_success() -> bool
Returns true if promise was successful.
Fails if called outside a callback that received 1 promise result.
Uses low-level crate::env::promise_results_count
.