onrails
GitHub
npm
Preparing search index...
@onrails/result
interop
asyncAfter
Function asyncAfter
asyncAfter
<
T
,
U
,
E
,
F
>
(
result
:
Result
<
T
,
E
>
,
fn
:
(
value
:
T
)
=>
ResultAsync
<
U
,
F
>
,
)
:
ResultAsync
<
U
,
E
|
F
>
Bind a sync
Result
into an async step without widening defects.
Type Parameters
T
U
E
F
Parameters
result
:
Result
<
T
,
E
>
fn
:
(
value
:
T
)
=>
ResultAsync
<
U
,
F
>
Returns
ResultAsync
<
U
,
E
|
F
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
onrails
Loading...
Bind a sync Result into an async step without widening defects.