• Retrieves the onProgress event from the LmsClientContext. This event is emitted when progress is updated and provides a value between 0 and 1.

    Parameters

    • contextManager: ContextManager

      The context manager.

    Returns Event<[number]>

    The onProgress event handler.

    this.register(
    useOnProgress(this.contextManager),
    (progress) => {
    console.log(`Current progress: ${progress * 100}%`);
    }
    );