Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/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/core/mod.ts";
const { CombineResult } = AsyncReducer;

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

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
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