MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / isSubscribed

Function isSubscribed

Extension/src/Utility/Eventing/dispatcher.ts:391–393  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

389}
390
391function isSubscribed(name: string) {
392 return syncHandlers.has(name) || asyncHandlers.has(name) || asyncHandlers.has('*') || syncHandlers.has('*');
393}
394
395/** adds an event to the queue, to be dispatched when it is unqueued */
396export async function emit<TResult>(name: string, descriptors: Descriptors, text: string): Promise<TResult | EventStatus>;

Callers 4

emitFunction · 0.85
emitNowFunction · 0.85
notifyFunction · 0.85
notifyNowFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected