Skip to content

Commit

Permalink
Add hasListener() to event interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohail Rajdev committed Dec 20, 2024
1 parent 917c531 commit 2f8891e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proposals/runtime_on_load_on_enabled_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ namespace runtime {
// to a new version, and enabled after being disabled.
export interface onExtensionLoaded {
addListener(callback: (details: ExtensionLoadDetails) => void): void;
hasListener(callback: (details: ExtensionLoadDetails) => void): boolean;
removeListener(callback: (details: ExtensionLoadDetails) => void): void;
}
}
Expand Down

0 comments on commit 2f8891e

Please sign in to comment.