Class ShellDoneEvent

An event that indicates that the shell command is finished. This contains an exit code or an exit signal. Based on the Node.js documentation, either one or the other is defined, never both at the same time.

Hierarchy

  • TypedCustomEvent<{
        exitCode: undefined | number;
        exitSignal: undefined | Signals;
    }, "shell-done", this>
    • ShellDoneEvent

Constructors

Constructors

  • Parameters

    • eventInitDict: TypedCustomEventInit<{
          exitCode: undefined | number;
          exitSignal: undefined | Signals;
      }>

    Returns ShellDoneEvent