Show / Hide Table of Contents

Interface ILifecycleObserver

Lifecycle observer used to handle start and stop notification.

Namespace: Orleans
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
Type Description
Task
| Improve this Doc View Source

OnStop(CancellationToken)

Handle stop notifications

Declaration
Task OnStop(CancellationToken ct)
Parameters
Type Name Description
CancellationToken ct
Returns
Type Description
Task

Extension Methods

LifecycleExtensions.OnStart(ILifecycleObserver)
LifecycleExtensions.OnStop(ILifecycleObserver)
ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX