Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
UnwrapAsync
Type alias UnwrapAsync<T>
Unwrap
Async
<
T
>
:
IsLiteralArray
<
T
>
extends
1
?
Writable
<
T
>
extends
[
infer
H
,
...
(
infer
Rest
)
]
?
H
extends
PromiseLike
<
infer
HI
>
?
HI
extends
neverthrow
.
Result
<
unknown
,
unknown
>
?
[
Dedup
<
HI
>
,
...
UnwrapAsync
<
Rest
>
]
:
never
:
never
:
[
]
:
T
extends
(
infer
A
)
[]
?
A
extends
PromiseLike
<
infer
HI
>
?
HI
extends
neverthrow
.
Result
<
infer
L
,
infer
R
>
?
neverthrow
.
Ok
<
L
,
R
>
[]
:
never
:
never
:
never
Type Parameters
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Official Cockpit API Documentation
Houston Common Library
Loading...