CometSubscription: {
    callback(callback): void;
    errback(callback): void;
}

The subscription object returned from the cometd subscribe object.

Type declaration

  • callback:function
    • Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

  • errback:function
    • Parameters

      • callback: ((error) => void)
          • (error): void
          • Parameters

            • error: Error

            Returns void

      Returns void