@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Interface ProtocolHandler

    Pure FDv2 protocol state machine. Processes a single event at a time and returns an action describing what the caller should do. Contains no I/O or callbacks.

    interface ProtocolHandler {
        state: ProtocolState;
        processEvent(event: FDv2Event): ProtocolAction;
        reset(): void;
    }
    Index
    • Resets the handler to inactive. Should be called when a connection is reset.

      Returns void