await_promise

Function await_promise 

Source
pub fn await_promise(promise_id: &PromiseId) -> Vec<u8> 
Expand description

Suspends execution until the given promise gets completed, and returns the payload passed to the promise completion.