Function: getProviderLifecycleContext()
getProviderLifecycleContext(
providerId
,containerProviderConnection
):LifecycleContext
It returns the lifecycle context for the provider connection. If no context is found it throws an error
Parameters
• providerId: string
the provider id
• containerProviderConnection: ContainerProviderConnection
the connection to retrieve the lifecycle context for
Returns
the lifecycle context
Throws
if no provider with the id has been found or there is no context associate to it.