-
Notifications
You must be signed in to change notification settings - Fork 0
Function.unitAsync
GitHub Actions edited this page Mar 5, 2025
·
11 revisions
resultar / unitAsync
unitAsync<
E>():ResultAsync<undefined,E>
Defined in: result-async.ts:472
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.