@openfin/core 40.102.1 → 40.102.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
- import OpenFin from './mock';
1
+ // eslint-disable-next-line import/no-named-as-default
2
+ import OpenFin from './stub';
2
3
 
3
4
  export = OpenFin;
4
5
  export as namespace OpenFin;
@@ -4601,6 +4601,15 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
4601
4601
  eventNames: () => (string | symbol)[];
4602
4602
  /* Excluded from this release type: emit */
4603
4603
  private hasEmitter;
4604
+ /**
4605
+ * Cleans up after removal of a listener, e.g. deleting any lingering deregistration handlers for a
4606
+ * `once` subscription.
4607
+ *
4608
+ * @remarks Implementing this as a `removeListener` handler ensures that direct removal of a listener
4609
+ * on the base emitter will not leak additional core handlers. We could do this in the forwarding method,
4610
+ * which would involve less "magic," but would be more-vulnerable to accidental re-introduction of a leak.
4611
+ */
4612
+ private cleanUpRemovedListener;
4604
4613
  private getOrCreateEmitter;
4605
4614
  listeners: (type: string | symbol) => Function[];
4606
4615
  listenerCount: (type: string | symbol) => number;
@@ -4601,6 +4601,15 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
4601
4601
  eventNames: () => (string | symbol)[];
4602
4602
  /* Excluded from this release type: emit */
4603
4603
  private hasEmitter;
4604
+ /**
4605
+ * Cleans up after removal of a listener, e.g. deleting any lingering deregistration handlers for a
4606
+ * `once` subscription.
4607
+ *
4608
+ * @remarks Implementing this as a `removeListener` handler ensures that direct removal of a listener
4609
+ * on the base emitter will not leak additional core handlers. We could do this in the forwarding method,
4610
+ * which would involve less "magic," but would be more-vulnerable to accidental re-introduction of a leak.
4611
+ */
4612
+ private cleanUpRemovedListener;
4604
4613
  private getOrCreateEmitter;
4605
4614
  listeners: (type: string | symbol) => Function[];
4606
4615
  listenerCount: (type: string | symbol) => number;
@@ -4601,6 +4601,15 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
4601
4601
  eventNames: () => (string | symbol)[];
4602
4602
  /* Excluded from this release type: emit */
4603
4603
  private hasEmitter;
4604
+ /**
4605
+ * Cleans up after removal of a listener, e.g. deleting any lingering deregistration handlers for a
4606
+ * `once` subscription.
4607
+ *
4608
+ * @remarks Implementing this as a `removeListener` handler ensures that direct removal of a listener
4609
+ * on the base emitter will not leak additional core handlers. We could do this in the forwarding method,
4610
+ * which would involve less "magic," but would be more-vulnerable to accidental re-introduction of a leak.
4611
+ */
4612
+ private cleanUpRemovedListener;
4604
4613
  private getOrCreateEmitter;
4605
4614
  listeners: (type: string | symbol) => Function[];
4606
4615
  listenerCount: (type: string | symbol) => number;
@@ -4665,6 +4665,15 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
4665
4665
  type: EventType;
4666
4666
  }>, ...args: any[]) => boolean;
4667
4667
  private hasEmitter;
4668
+ /**
4669
+ * Cleans up after removal of a listener, e.g. deleting any lingering deregistration handlers for a
4670
+ * `once` subscription.
4671
+ *
4672
+ * @remarks Implementing this as a `removeListener` handler ensures that direct removal of a listener
4673
+ * on the base emitter will not leak additional core handlers. We could do this in the forwarding method,
4674
+ * which would involve less "magic," but would be more-vulnerable to accidental re-introduction of a leak.
4675
+ */
4676
+ private cleanUpRemovedListener;
4668
4677
  private getOrCreateEmitter;
4669
4678
  listeners: (type: string | symbol) => Function[];
4670
4679
  listenerCount: (type: string | symbol) => number;