Options
All
  • Public
  • Public/Protected
  • All
Menu

A class representing an OS service.

This class should be inherited.

Hierarchy

  • OSService

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns any

Properties

Optional autostart

autostart: boolean

Whether to autostart the service.

friendlyName

friendlyName: string

Friendly service name.

id

id: string

Service ID.

running

running: boolean

Whether the service is running.

Methods

start

  • start(): Promise<void>
  • Starts this service.

    Returns Promise<void>

stop

  • stop(): Promise<void>
  • Stops this service.

    Returns Promise<void>

Generated using TypeDoc