Interface StateGraphArgs<Channels>

interface StateGraphArgs<Channels> {
    channels: Channels extends object
        ? Channels<Channels> extends unknown[]
            ? ChannelReducers<{
                __root__: Channels<Channels>;
            }>
            : ChannelReducers<Channels<Channels>>
        : ChannelReducers<{
            __root__: Channels;
        }>;
}

Type Parameters

  • Channels extends object | unknown

Properties

Properties

channels: Channels extends object
    ? Channels<Channels> extends unknown[]
        ? ChannelReducers<{
            __root__: Channels<Channels>;
        }>
        : ChannelReducers<Channels<Channels>>
    : ChannelReducers<{
        __root__: Channels;
    }>