blocking_await_promise

Function blocking_await_promise 

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

Awaits a promise blocking the execution of the agent. The agent is going to be suspended until the promise is completed.

Use await_promise for an async version of this function, allowing to interleave awaiting of the promise with other operations.