Skip to main content
Module

x/rimbu/mod.ts>AsyncReducer.CombineResult

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias AsyncReducer.CombineResult
import { type AsyncReducer } from "https://deno.land/x/rimbu@1.2.0/mod.ts";
const { CombineResult } = AsyncReducer;

Type defining the result type of an async reducer combination for a given shape.

Type Parameters

S extends AsyncReducer.CombineShape<any>
definition: S extends readonly AsyncReducer.CombineShape[] ? 0 extends S["length"] ? never : [K in keyof S]: S[K] extends AsyncReducer.CombineShape ? AsyncReducer.CombineResult<S[K]> : never : S extends { [key: string]: AsyncReducer.CombineShape; } ? [K in keyof S]: AsyncReducer.CombineResult<S[K]> : S extends AsyncReducer.Accept<unknown, infer R> ? R : never

Type Parameters

S extends AsyncReducer.CombineShape<any>
definition: S extends readonly AsyncReducer.CombineShape[] ? 0 extends S["length"] ? never : [K in keyof S]: S[K] extends AsyncReducer.CombineShape ? AsyncReducer.CombineResult<S[K]> : never : S extends { [key: string]: AsyncReducer.CombineShape; } ? [K in keyof S]: AsyncReducer.CombineResult<S[K]> : S extends AsyncReducer.Accept<unknown, infer R> ? R : never