Options
All
  • Public
  • Public/Protected
  • All
Menu

Collection of Service related API function

Index

Variables

Const onServiceChange

onServiceChange: Event<ServiceChange>

Const onServiceNew

onServiceNew: Event<ManagedChildProcess>

Const onServiceRemove

onServiceRemove: Event<ManagedChildProcess>

Functions

getServices

removeService

runProcess

  • Runs a managed process given info, will die when disposed.

    Parameters

    • name: string

      Name of the process

    • info: ProcessInfo

      Process info to run.

    • Optional basePath: undefined | string

      Override for directory to start in (info is relative to this), Extension path if none given

    Returns DisposableChildProcess

    A managed process.

runService

  • Runs a managed service given info, will die when the launcher exits.

    Parameters

    • name: string

      Name of the service

    • info: ProcessInfo

      Service info to run.

    • Optional basePath: undefined | string

      Override for directory to start in (info is relative to this), Extension path if none given

    Returns ManagedChildProcess

    A managed process. Can be passed to removeService.

Generated using TypeDoc