[−]Function near_bindgen::env::promise_result
pub fn promise_result(result_idx: u64) -> PromiseResult
If the current function is invoked by a callback we can access the execution results of the promises that caused the callback.