@aicacia/trycatch
Preparing search index...
tryPromise
Function tryPromise
tryPromise
<
T
,
E
=
Error
>
(
result
:
MaybePromiseLike
<
T
>
,
)
:
Result
<
T
,
E
>
|
Promise
<
Result
<
T
,
E
>
>
Type Parameters
T
E
=
Error
Parameters
result
:
MaybePromiseLike
<
T
>
Returns
Result
<
T
,
E
>
|
Promise
<
Result
<
T
,
E
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@aicacia/trycatch
Loading...