Skip to content

Commit

Permalink
Deleted unused EventDispatcher (152)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Nov 13, 2024
1 parent 6071754 commit 53ac184
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
47 changes: 0 additions & 47 deletions src/services/EventDispatcher.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/types/serviceTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,6 @@ export interface IDheService extends ConnectionState, Disposable {
deleteWorker: (workerUrl: WorkerURL) => Promise<void>;
}

/**
* @deprecated Use `vscode.EventEmitter` instead.
*/
export interface IEventDispatcher<TEventName extends string> {
addEventListener: (
eventName: TEventName,
listener: EventListenerT
) => UnsubscribeEventListener;

dispatchEvent: <TEvent>(eventName: TEventName, event?: TEvent) => void;
}

export interface IFactory<T, TArgs extends unknown[] = []> {
create: (...args: TArgs) => T;
}
Expand Down

0 comments on commit 53ac184

Please sign in to comment.