-
Notifications
You must be signed in to change notification settings - Fork 0
Variable.errAsync
GitHub Actions edited this page May 22, 2025
·
1 revision
resultar / errAsync
consterrAsync: {<T,E>(err):ResultAsync<T,E>; <T,E>(err):ResultAsync<T,void>; } =ResultAsync.errAsync
Defined in: result-async.ts:473
<
T,E>(err):ResultAsync<T,E>
Returns a ResultAsync instance that is immediately resolved with a Result.err(error).
T = never
E = unknown
E
ResultAsync<T, E>
A ResultAsync instance with the given error and value type T.
<
T,E>(err):ResultAsync<T,void>
Returns a ResultAsync instance that is immediately resolved with a Result.err(error).
T = never
E extends void = void
void
ResultAsync<T, void>
A ResultAsync instance with the given error and value type T.