@openhps/core
    Preparing search index...

    Interface WindowNodeOptions<InOut>

    Options for a WindowNode.

    interface WindowNodeOptions<InOut extends DataFrame = DataFrame> {
        aggregate?: WindowAggregateFunction<InOut>;
        frameFilter?: (frame: DataFrame) => boolean;
        groupBy?: WindowGroupFunction<InOut>;
        name?: string;
        uid?: string;
        windowCount?: number;
        windowSize?: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Reduces the frames of a closed window to one frame. Defaults to merging the data objects of all frames into the most recent frame.

    frameFilter?: (frame: DataFrame) => boolean

    Frame filter to specify what frames are processed by this node

    Groups frames into independent windows. Frames with the same key are aggregated together. Defaults to a single window for every frame.

    name?: string

    User friendly name of the node Used for querying a node by its name.

    uid?: string

    Manually set the unique identifier of the node

    windowCount?: number

    Maximum number of frames in one window. The window closes as soon as it holds this many frames.

    windowSize?: number

    Maximum duration of one window in milliseconds, measured on the frame timestamps. A frame that arrives this long after the first frame of the window starts the next window.