@vkontakte/videoplayer-shared 1.0.58-dev.eda65eb1.0 → 1.0.58-dev.ef87de0a.0

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.
@@ -1,6 +1,6 @@
1
1
  import type { ISubscription, IUnsubscriber } from './types';
2
2
  export default class Subscription implements ISubscription {
3
- private subscriptions;
3
+ protected subscriptions: Array<(() => void) | ISubscription>;
4
4
  unsubscribe(): void;
5
5
  add(item: ISubscription | IUnsubscriber): ISubscription;
6
6
  }
@@ -0,0 +1,5 @@
1
+ import Subscription from './Subscription';
2
+ import { ISubscription, IUnsubscriber } from './types';
3
+ export default class SubscriptionRemovable extends Subscription {
4
+ remove(item: ISubscription | IUnsubscriber): void;
5
+ }
@@ -8,6 +8,7 @@ export { default as timeout } from './timeout';
8
8
  export { default as interval } from './interval';
9
9
  export { default as observableFrom } from './observableFrom';
10
10
  export { default as fromEvent } from './fromEvent';
11
+ export { default as SubscriptionRemovable } from './SubscriptionRemovable';
11
12
  export { default as buffer } from './operators/buffer';
12
13
  export { default as debounce } from './operators/debounce';
13
14
  export { default as throttle } from './operators/throttle';