Function linera_sdk::contract::run_async_entrypoint

source ยท
pub fn run_async_entrypoint<Contract, Output, RawOutput>(
    contract: &mut Option<Contract>,
    entrypoint: impl FnOnce(&mut Contract) -> Output + Send,
) -> RawOutput
where Contract: Contract, Output: Into<RawOutput> + Send + 'static,
Expand description

Runs an asynchronous entrypoint in a blocking manner, by repeatedly polling the entrypoint future.