shaka-player 4.9.31 → 4.9.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4313,6 +4313,13 @@ declare namespace shaka.extern {
4313
4313
  * whereas aborting only means that further work is stopped.
4314
4314
  */
4315
4315
  interface IAbortableOperation < T > {
4316
+ /**
4317
+ * A Promise which represents the underlying operation. It is resolved when
4318
+ * the operation is complete, and rejected if the operation fails or is
4319
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4320
+ * object using the error code OPERATION_ABORTED.
4321
+ */
4322
+ promise : Promise < T > ;
4316
4323
  /**
4317
4324
  * Can be called by anyone holding this object to abort the underlying
4318
4325
  * operation. This is not cancelation, and will not necessarily result in
@@ -4322,13 +4329,6 @@ declare namespace shaka.extern {
4322
4329
  */
4323
4330
  abort ( ) : Promise < any > ;
4324
4331
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4325
- /**
4326
- * A Promise which represents the underlying operation. It is resolved when
4327
- * the operation is complete, and rejected if the operation fails or is
4328
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4329
- * object using the error code OPERATION_ABORTED.
4330
- */
4331
- promise : Promise < T > ;
4332
4332
  }
4333
4333
  }
4334
4334
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
@@ -4313,6 +4313,13 @@ declare namespace shaka.extern {
4313
4313
  * whereas aborting only means that further work is stopped.
4314
4314
  */
4315
4315
  interface IAbortableOperation < T > {
4316
+ /**
4317
+ * A Promise which represents the underlying operation. It is resolved when
4318
+ * the operation is complete, and rejected if the operation fails or is
4319
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4320
+ * object using the error code OPERATION_ABORTED.
4321
+ */
4322
+ promise : Promise < T > ;
4316
4323
  /**
4317
4324
  * Can be called by anyone holding this object to abort the underlying
4318
4325
  * operation. This is not cancelation, and will not necessarily result in
@@ -4322,13 +4329,6 @@ declare namespace shaka.extern {
4322
4329
  */
4323
4330
  abort ( ) : Promise < any > ;
4324
4331
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4325
- /**
4326
- * A Promise which represents the underlying operation. It is resolved when
4327
- * the operation is complete, and rejected if the operation fails or is
4328
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4329
- * object using the error code OPERATION_ABORTED.
4330
- */
4331
- promise : Promise < T > ;
4332
4332
  }
4333
4333
  }
4334
4334
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js