Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PidmanMonitor

The PidmanMonitor implements the callbacks methods that are triggered on every process's event.

Hierarchy

  • PidmanMonitor

Index

Methods

Methods

Optional onClose

  • onClose(data: unknown): void
  • Once the process closes or exits, the resulting exit code and signal is returned here along with the PidmanProcess' metadata.

    Parameters

    • data: unknown

    Returns void

    void

Optional onData

  • onData(data: unknown): void
  • The process' stdout and stderr is forwarded here along with the PidmanProcess' metadata.

    Parameters

    • data: unknown

    Returns void

    void

Generated using TypeDoc