MCPcopy
hub / github.com/authts/oidc-client-ts / removeHandler

Method removeHandler

src/utils/Event.ts:28–33  ·  view source on GitHub ↗
(cb: Callback<EventType>)

Source from the content-addressed store, hash-verified

26 }
27
28 public removeHandler(cb: Callback<EventType>): void {
29 const idx = this._callbacks.lastIndexOf(cb);
30 if (idx >= 0) {
31 this._callbacks.splice(idx, 1);
32 }
33 }
34
35 public async raise(...ev: EventType): Promise<void> {
36 this._logger.debug("raise:", ...ev);

Callers 12

addHandlerMethod · 0.95
stopMethod · 0.80
removeUserLoadedMethod · 0.80
removeUserUnloadedMethod · 0.80
removeUserSignedInMethod · 0.80
removeUserSignedOutMethod · 0.80
Event.test.tsFile · 0.80
Timer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected