Function linera_sdk::service::run_async_entrypoint

source ยท
pub fn run_async_entrypoint<Service, Output>(
    service: &mut Option<Service>,
    entrypoint: impl FnOnce(&mut Service) -> Output,
) -> Output
where Service: Service,
Expand description

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