Options
All
  • Public
  • Public/Protected
  • All
Menu

Wrapper for a connection to a Daemon.

Hierarchy

  • Connection

Index

Methods

Methods

end

  • end(): Promise<void>
  • End the connection and clean up resources.

    Returns Promise<void>

    Asynchronously, when the cleanup is complete.

run

  • Run the requested job on the connected daemon.

    Parameters

    • streams: ProcessStreams

      Streams that the remote stdin/stdout/stderr will be piped to.

    • request: Job

      A description of the job to be run.

    Returns Promise<JobResult>

    Resolve with the result of the completed job, or reject with some Error.

Generated using TypeDoc