MCPcopy Index your code
hub / github.com/TanStack/ai / deactivate

Method deactivate

packages/ai-client/src/devtools.ts:512–521  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510 }
511
512 deactivate(): void {
513 const activeBridgeByHookId = getActiveBridgeRegistry()
514 if (activeBridgeByHookId.get(this.options.hookId) === this) {
515 activeBridgeByHookId.delete(this.options.hookId)
516 }
517
518 for (const unsubscribe of this.unsubscribers.splice(0)) {
519 unsubscribe()
520 }
521 }
522
523 supersede(): void {
524 if (this.disposed) {

Callers 3

supersedeMethod · 0.95
disposeMethod · 0.95
activateMethod · 0.45

Calls 4

getActiveBridgeRegistryFunction · 0.85
unsubscribeFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected