mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 05:13:50 +02:00
Remove input track descriptors, add async getters on tracks for everything, deprecate old sync getters
This commit is contained in:
@@ -74,12 +74,14 @@ export abstract class Target extends EventEmitter<TargetEvents> {
|
||||
|
||||
/** @internal */
|
||||
_dispatchWrite(start: number, end: number) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
this.onwrite?.(start, end);
|
||||
this._emit('write', { start, end });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
_dispatchFinalized() {
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
this.onfinalized?.();
|
||||
this._emit('finalized');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user