wasmcloud_provider_sdk::provider

Function run_provider

source
pub async fn run_provider(
    provider: impl Provider,
    friendly_name: &str,
) -> ProviderInitResult<impl Future<Output = ()>>
Expand description

Runs the provider handler given a provider implementation and a name. It returns a Future, which will become ready once shutdown signal is received.