onrails
GitHub
npm
Preparing search index...
@onrails/result
interop
fromResult
Function fromResult
fromResult
<
T
,
E
>
(
result
:
Result
<
T
,
E
>
)
:
ResultAsync
<
T
,
E
>
Lift an already-known sync
Result
into
ResultAsync
.
Type Parameters
T
E
Parameters
result
:
Result
<
T
,
E
>
Returns
ResultAsync
<
T
,
E
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
onrails
Loading...
Lift an already-known sync Result into ResultAsync.