-
Notifications
You must be signed in to change notification settings - Fork 0
Variable.unitAsync
GitHub Actions edited this page May 22, 2025
·
1 revision
resultar / unitAsync
constunitAsync: <E>() =>ResultAsync<undefined,E> =ResultAsync.unitAsync
Defined in: result-async.ts:476
Returns a ResultAsync that is immediately resolved with a Result.ok(undefined) value.
E = never
ResultAsync<undefined, E>
A ResultAsync instance with undefined as the value type and E as the error type.