Interface ILifecycleProcessor
Interface for processing lifecycle based services.
public interface ILifecycleProcessor : IDisposable
- Inherited Members
Properties
IsRunning
Gets a value indicating whether gets a value indicating if its running
bool IsRunning { get; }
Property Value
Methods
OnClose()
Call to shutdown the lifecycle processor
Task OnClose()
Returns
- Task
a task to signal completion
OnRefresh()
Call to refresh the lifecycle processor
Task OnRefresh()
Returns
- Task
a task to signal completion
Start()
Start this component
Task Start()
Returns
- Task
a task to signal completion
Stop()
Stop this component
Task Stop()
Returns
- Task
a task to signal completion