Retrieves the onProgress event from the LmsClientContext. This event is emitted when progress is updated and provides a value between 0 and 1.
LmsClientContext
The context manager.
The onProgress event handler.
this.register( useOnProgress(this.contextManager), (progress) => { console.log(`Current progress: ${progress * 100}%`); }); Copy
this.register( useOnProgress(this.contextManager), (progress) => { console.log(`Current progress: ${progress * 100}%`); });
Retrieves the onProgress event from the
LmsClientContext
. This event is emitted when progress is updated and provides a value between 0 and 1.