gameplate - v2.2.0
    Preparing search index...

    Interface RecorderOptions

    Options for createRecorder.

    interface RecorderOptions {
        now?: () => number;
        filter?: (name: string, args: readonly unknown[]) => boolean;
    }
    Index

    Properties

    Properties

    now?: () => number

    Time source for event timestamps. Default: Date.now. Pass performance.now for sub-ms precision, or a fake clock in tests.

    filter?: (name: string, args: readonly unknown[]) => boolean

    Predicate run for every dispatched action. Return false to drop the event from the recording — useful for excluding high-frequency or sensitive actions (PII, chat, idle pulses).