Function golem_rust::bindings::golem::api::host::golem_await_promise

source ·
pub fn golem_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.