wasmcloud_provider_sdk::provider

Function initialize_host_data

source
pub fn initialize_host_data(
    host_data: HostData,
) -> ProviderInitResult<&'static HostData>
Expand description

Initializes the host data with the provided data. This is useful for testing or if the host data is not being provided over stdin.

If the host data has already been initialized, this function will return the existing host data.