Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HandlerLifecycle

Lifecycle of the handler and its context

Hierarchy

  • HandlerLifecycle

Index

Methods

dispose

  • dispose(): Promise<void>
  • Disposes the HandlerContext. Before disposing the context, this will invoke all registered disposables

    Returns Promise<void>

registerDisposable

  • registerDisposable(callback: () => Promise<void>, description?: string): void
  • Register a callback that should be invoked when this context gets disposed

    Parameters

    • callback: () => Promise<void>
        • (): Promise<void>
        • Returns Promise<void>

    • Optional description: string

    Returns void

Generated using TypeDoc