BatchResult
BatchResult:
object
Defined in: packages/core/src/types.ts:198
Companion object for the BatchResult type. Provides factory utilities.
Type Declaration
Section titled “Type Declaration”empty()
Section titled “empty()”
readonlyempty: <T>() =>BatchResult<T>
Create an empty BatchResult with no values or errors.
Type Parameters
Section titled “Type Parameters”T
Returns
Section titled “Returns”BatchResult<T>
an empty BatchResult
Idempotency
Section titled “Idempotency”Safe — pure function
Example
Section titled “Example”const empty = BatchResult.empty<Content>();