IBM Aspera JavaScript Library
    Preparing search index...

    Function registerStatusCallback

    • Register a callback for getting updates about the connection status of IBM Aspera SDK.

      For example, to be notified of when the SDK loses connection with the application or connection is re-established. This can be useful if you want to handle the case where the user quits IBM Aspera after init has already been called, and want to prompt the user to relaunch the application.

      Parameters

      • callback: (status: WebsocketEvent) => void

        callback function to receive events

      Returns string

      ID representing the callback for deregistration purposes