MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / unregisterGlobal

Function unregisterGlobal

packages/core/src/v3/utils/globals.ts:36–42  ·  view source on GitHub ↗
(type: keyof TriggerDotDevGlobalAPI)

Source from the content-addressed store, hash-verified

34}
35
36export function unregisterGlobal(type: keyof TriggerDotDevGlobalAPI) {
37 const api = _global[GLOBAL_TRIGGER_DOT_DEV_KEY];
38
39 if (api) {
40 delete api[type];
41 }
42}
43
44type TriggerDotDevGlobal = {
45 [GLOBAL_TRIGGER_DOT_DEV_KEY]?: TriggerDotDevGlobalAPI;

Callers 5

disableMethod · 0.90
disableMethod · 0.90
disableMethod · 0.90
disableMethod · 0.90
disableMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…