wasmcloud_provider_sdk::provider

Function get_connection

source
pub fn get_connection() -> &'static ProviderConnection
Expand description

Retrieves the currently configured connection to the lattice. DO NOT call this method until after the provider is running (meaning run_provider has been called) or this method will panic. Only in extremely rare cases should this be called manually and it will only be used by generated code