Class: shaka.util.OperationManager

Constructor

new OperationManager()

Implements:
Source:

Members

Methods

destroy() → {Promise}

Request that this object be destroyed, releasing all resources and shutting down all operations. Returns a Promise which is resolved when destruction is complete. This Promise should never be rejected.
Implements:
Source:
Returns:
Type
Promise

manage(operationnon-null)

Manage an operation. This means aborting it on destroy() and removing it from the management set when it complete.
Parameters:
Name Type Description
operation shaka.extern.IAbortableOperation
Source: