GitHub
isaacs projects
Preparing search index...
The search index is not available
minipass
minipass
Pipe
Class Pipe<T>
Internal
Internal class representing a pipe to a destination stream.
Type Parameters
T
extends
unknown
Hierarchy
Pipe
PipeProxyErrors
Index
Constructors
constructor
Properties
dest
ondrain
opts
src
Methods
end
proxy
Errors
unpipe
Constructors
constructor
new
Pipe
<
T
>
(
src
,
dest
,
opts
)
:
Pipe
<
T
>
Type Parameters
T
extends
unknown
Parameters
src
:
Minipass
<
T
,
T
extends
BufferOrString
?
ContiguousData
:
T
,
Events
<
T
>
>
dest
:
Writable
opts
:
PipeOptions
Returns
Pipe
<
T
>
Properties
dest
dest
:
Minipass
<
any
,
T
,
Events
<
any
>
>
ondrain
ondrain
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
opts
opts
:
PipeOptions
src
src
:
Minipass
<
T
,
T
extends
BufferOrString
?
ContiguousData
:
T
,
Events
<
T
>
>
Methods
end
end
(
)
:
void
Returns
void
proxy
Errors
proxy
Errors
(
_er
)
:
void
Parameters
_er
:
any
Returns
void
unpipe
unpipe
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
dest
ondrain
opts
src
end
proxy
Errors
unpipe
minipass
Minipass
Minipass
Pipe
PipeProxyErrors
PipeOptions
SD
isReadable
isStream
isWritable
Generated using
TypeDoc
Internal class representing a pipe to a destination stream.