Edit

Share via


ILifecycleObserver Interface

Definition

Lifecycle observer used to handle start and stop notification.

public interface ILifecycleObserver
type ILifecycleObserver = interface
Public Interface ILifecycleObserver
Derived

Methods

OnStart(CancellationToken)

Handle start notifications.

OnStop(CancellationToken)

Handle stop notifications.

Extension Methods

OnStart(ILifecycleObserver)
OnStop(ILifecycleObserver)

Applies to