Function golem_rust::bindings::golem::api::host::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.