Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ProcessManager

Implements

  • BackendApplicationContribution

Index

Constructors

Properties

deleteEmitter: Emitter<number>
id: number = 0
logger: ILogger
processes: Map<number, Process>

Accessors

  • get onDelete(): Event<number>

Methods

  • get(id: number): undefined | Process
  • getProcessLabel(process: Process): string
  • onStop(): void
  • Registers the given process into this manager. Both on process termination and on error, the process will be automatically removed from the manager.

    Parameters

    • process: Process

      the process to register.

    Returns number

  • Removes the process from this process manager. Invoking this method, will make sure that the process is terminated before eliminating it from the manager's cache.

    Parameters

    • process: Process

      the process to unregister from this process manager.

    Returns void