StreamingClientIfc: {
    getCometClient: ((url) => CometClient);
    setLogger: ((logLine) => void);
}

Inner streaming client interface. This implements the Cometd behavior. Also allows for mocking the functional behavior.

Type declaration

  • getCometClient: ((url) => CometClient)

    Returns a comet client implementation.

  • setLogger: ((logLine) => void)

    Sets the logger function for the CometClient.

      • (logLine): void
      • Parameters

        • logLine: ((message) => void)

          A log message passed to the the assigned function.

            • (message): void
            • Parameters

              • message: string

              Returns void

        Returns void