Interface ILifecycleObserver
Lifecycle observer used to handle start and stop notification.
Assembly: Orleans.Core.Abstractions.dll
Syntax
public interface ILifecycleObserver
Methods
|
Improve this Doc
View Source
OnStart(CancellationToken)
Handle start notifications
Declaration
Task OnStart(CancellationToken ct)
Parameters
Type |
Name |
Description |
CancellationToken |
ct |
|
Returns
|
Improve this Doc
View Source
OnStop(CancellationToken)
Handle stop notifications
Declaration
Task OnStop(CancellationToken ct)
Parameters
Type |
Name |
Description |
CancellationToken |
ct |
|
Returns
Extension Methods