Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProcessHandlerComposite

A process handler that combines an array of process handlers.

Hierarchy

  • ProcessHandlerComposite

Implements

Index

Constructors

constructor

Properties

Private Readonly processHandlers

processHandlers: ProcessHandler[]

Methods

addTerminationHandler

  • addTerminationHandler(handler: (processName: string, error?: Error) => void): void

close

  • close(): Promise<void>

join

  • join(): Promise<void>

removeTerminationHandler

  • removeTerminationHandler(handler: (processName: string, error?: Error) => void): void

startCollectingStats

  • startCollectingStats(): Promise<() => void>

Generated using TypeDoc