input-device-handler - v9.0.1
    Preparing search index...

    Type Alias TimedEventConstructor<DataTypeGeneric, SpecificEventTypeGeneric>

    TimedEventConstructor: new (
        eventInitDict: TypedCustomEventInit<TimedEventDetail<DataTypeGeneric>>,
    ) => TimedEvent<DataTypeGeneric, SpecificEventTypeGeneric> & Overwrite<
        typeof Event,
        Pick<TimedEvent<DataTypeGeneric, SpecificEventTypeGeneric>, "type">,
    > & {
        constructIfDataIsNew: (
            timestamp: number,
            ...inputs: Parameters<ConstructEventIfDataIsNew<DataTypeGeneric>>,
        ) => TimedEvent<DataTypeGeneric, SpecificEventTypeGeneric> | undefined;
        getNewData: ConstructEventIfDataIsNew<DataTypeGeneric>;
    }

    The constructor for TimedEvent.

    Type Parameters

    • DataTypeGeneric
    • SpecificEventTypeGeneric extends string

    Type declaration