Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JobController

The job controller.

Hierarchy

  • JobController

Index

Methods

close

  • close(completionHandler: ((res: void) => void) | Handler<void>): void
  • close(): void
  • Close the controller and terminate all the underlying jobs, a closed controller does not accept anymore jobs.

    Parameters

    • completionHandler: ((res: void) => void) | Handler<void>

    Returns void

  • Close the shell session and terminate all the underlying jobs.

    Returns void

createJob

  • Create a job wrapping a process.

    Parameters

    Returns Job

foregroundJob

  • foregroundJob(): Job
  • Returns Job

getJob

  • getJob(id: number): Job
  • Returns an active job in this session by its .

    Parameters

    • id: number

    Returns Job

jobs

  • Returns Job

Generated using TypeDoc