Skip to content

backgroundAnd

backgroundAnd(pipe: Pipe)

ParameterTypeDescription
pipePipe

Configures the given pipe to start in the background, but does not start it yet. This makes it possible to then use a function like dispose.

Returns

(Pipe) The given pipe.

Example

elk
some-program | backgroundAnd | dispose
some-program | backgroundAnd | dispose