shaka-player 4.12.1 → 4.12.2

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.
@@ -4644,6 +4644,13 @@ declare namespace shaka.extern {
4644
4644
  * whereas aborting only means that further work is stopped.
4645
4645
  */
4646
4646
  interface IAbortableOperation < T > {
4647
+ /**
4648
+ * A Promise which represents the underlying operation. It is resolved when
4649
+ * the operation is complete, and rejected if the operation fails or is
4650
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4651
+ * object using the error code OPERATION_ABORTED.
4652
+ */
4653
+ promise : Promise < T > ;
4647
4654
  /**
4648
4655
  * Can be called by anyone holding this object to abort the underlying
4649
4656
  * operation. This is not cancelation, and will not necessarily result in
@@ -4653,13 +4660,6 @@ declare namespace shaka.extern {
4653
4660
  */
4654
4661
  abort ( ) : Promise < any > ;
4655
4662
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4656
- /**
4657
- * A Promise which represents the underlying operation. It is resolved when
4658
- * the operation is complete, and rejected if the operation fails or is
4659
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4660
- * object using the error code OPERATION_ABORTED.
4661
- */
4662
- promise : Promise < T > ;
4663
4663
  }
4664
4664
  }
4665
4665
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
@@ -4644,6 +4644,13 @@ declare namespace shaka.extern {
4644
4644
  * whereas aborting only means that further work is stopped.
4645
4645
  */
4646
4646
  interface IAbortableOperation < T > {
4647
+ /**
4648
+ * A Promise which represents the underlying operation. It is resolved when
4649
+ * the operation is complete, and rejected if the operation fails or is
4650
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4651
+ * object using the error code OPERATION_ABORTED.
4652
+ */
4653
+ promise : Promise < T > ;
4647
4654
  /**
4648
4655
  * Can be called by anyone holding this object to abort the underlying
4649
4656
  * operation. This is not cancelation, and will not necessarily result in
@@ -4653,13 +4660,6 @@ declare namespace shaka.extern {
4653
4660
  */
4654
4661
  abort ( ) : Promise < any > ;
4655
4662
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4656
- /**
4657
- * A Promise which represents the underlying operation. It is resolved when
4658
- * the operation is complete, and rejected if the operation fails or is
4659
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4660
- * object using the error code OPERATION_ABORTED.
4661
- */
4662
- promise : Promise < T > ;
4663
4663
  }
4664
4664
  }
4665
4665
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js