RunWhenAvailable Method
RunWhenAvailable<T>(Action<T>)
Subscribes to the service of type T. serviceAvailableAction will be called after the service gets available. If the service is already available, the action will be called immediately.
Declaration
public void RunWhenAvailable<T>(Action<T> serviceAvailableAction)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | serviceAvailableAction |
Type Parameters
Name | Description |
---|---|
T |