Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

  • { isDisposed: boolean; onDispose?: undefined | (() => void); toDispose: Disposable[] }

Index

Constructors

constructor

Properties

id

id: string

ID of the process

info

Info this process was created with

isDisposed

isDisposed: boolean

Readonly name

name: string

Display name of the service.

Optional onDispose

onDispose: undefined | (() => void)

toDispose

toDispose: Disposable[]

Methods

getPid

  • getPid(): number

getStartTime

  • getStartTime(): number

getState

kill

  • kill(): void

restart

  • restart(): void

spawn

  • spawn(auto?: undefined | false | true): void

Generated using TypeDoc