Interface for a strategy for removing duplicate contexts from the event stream. Client side event processors do not do this de-duplication, so the implementation is not part of the default event processor.

Hierarchy

  • LDContextDeduplicator

Properties

Methods

Properties

flushInterval?: number

The interval, if any, at which the event processor should call flush.

Methods

  • Forgets any cached user information, so all subsequent contexts will be treated as new.

    Returns void

  • Updates the internal state if necessary to reflect that we have seen the given context. Returns true if it is time to insert an index event for this context into the event output.

    Client implementations may always return true.

    Parameters

    Returns boolean

Generated using TypeDoc