Type Utils
Preparing search index...
Experimental
PipelineBox
Class PipelineBox<T>
Type Parameters
T
Index
Methods
depipe
pipe
pipe
Async
tap
tap
Async
is
Box
wrap
Methods
depipe
depipe
()
:
T
Returns
T
pipe
pipe
<
U
>
(
fn
:
(
value
:
T
)
=>
Exclude
<
U
,
Promise
<
any
>
>
)
:
Experimental
.
PipelineBox
<
U
>
Type Parameters
U
Parameters
fn
:
(
value
:
T
)
=>
Exclude
<
U
,
Promise
<
any
>
>
Returns
Experimental
.
PipelineBox
<
U
>
pipe
<
U
>
(
fn
:
(
value
:
T
)
=>
Promise
<
U
>
)
:
Experimental
.
AsyncPipelineBox
<
U
>
Type Parameters
U
Parameters
fn
:
(
value
:
T
)
=>
Promise
<
U
>
Returns
Experimental
.
AsyncPipelineBox
<
U
>
pipe
<
U
>
(
fn
:
(
value
:
T
)
=>
U
|
Promise
<
U
>
,
)
:
U
extends
Promise
<
any
>
?
Experimental
.
AsyncPipelineBox
<
Awaited
<
U
>
>
:
Experimental
.
PipelineBox
<
U
>
Type Parameters
U
Parameters
fn
:
(
value
:
T
)
=>
U
|
Promise
<
U
>
Returns
U
extends
Promise
<
any
>
?
Experimental
.
AsyncPipelineBox
<
Awaited
<
U
>
>
:
Experimental
.
PipelineBox
<
U
>
pipe
Async
pipeAsync
<
U
>
(
fn
:
(
value
:
T
)
=>
U
|
Promise
<
U
>
,
)
:
Experimental
.
AsyncPipelineBox
<
Awaited
<
U
>
>
Type Parameters
U
Parameters
fn
:
(
value
:
T
)
=>
U
|
Promise
<
U
>
Returns
Experimental
.
AsyncPipelineBox
<
Awaited
<
U
>
>
tap
tap
(
fn
:
(
value
:
T
)
=>
void
,
options
?:
TapOptions
)
:
Experimental
.
PipelineBox
<
T
>
Parameters
fn
:
(
value
:
T
)
=>
void
Optional
options
:
TapOptions
Returns
Experimental
.
PipelineBox
<
T
>
tap
Async
tapAsync
(
fn
:
(
value
:
T
)
=>
void
|
Promise
<
void
>
,
options
?:
TapAsyncOptions
,
)
:
Experimental
.
AsyncPipelineBox
<
T
>
Parameters
fn
:
(
value
:
T
)
=>
void
|
Promise
<
void
>
Optional
options
:
TapAsyncOptions
Returns
Experimental
.
AsyncPipelineBox
<
T
>
Static
is
Box
isBox
(
value
:
unknown
,
)
:
value
is
|
Experimental
.
AsyncPipelineBox
<
unknown
>
|
Experimental
.
PipelineBox
<
unknown
>
Parameters
value
:
unknown
Returns
value
is
|
Experimental
.
AsyncPipelineBox
<
unknown
>
|
Experimental
.
PipelineBox
<
unknown
>
Static
wrap
wrap
<
T
>
(
value
:
Exclude
<
T
,
Promise
<
any
>
>
)
:
Experimental
.
PipelineBox
<
T
>
Type Parameters
T
Parameters
value
:
Exclude
<
T
,
Promise
<
any
>
>
Returns
Experimental
.
PipelineBox
<
T
>
wrap
<
T
>
(
value
:
Promise
<
T
>
)
:
Experimental
.
AsyncPipelineBox
<
T
>
Type Parameters
T
Parameters
value
:
Promise
<
T
>
Returns
Experimental
.
AsyncPipelineBox
<
T
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
depipe
pipe
pipe
Async
tap
tap
Async
is
Box
wrap
Type Utils
Loading...