pub fn await_promise(promise_id: &PromiseId) -> Vec<u8> ⓘ
Suspends execution until the given promise gets completed, and returns the payload passed to the promise completion.