await_promise

Function await_promise 

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

Awaits a promise.

If only promises or timeouts are awaited simultaneously, the agent is going to be suspended until any of them completes.