Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/SBoudrias/Inquirer.js
/ unsubscribe
Method
unsubscribe
packages/inquirer/src/utils/observable.ts:145–154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
return
closed;
144
},
145
unsubscribe() {
146
if
(closed) {
147
return
;
148
}
149
150
closed = true;
151
if
(teardownReady) {
152
runTeardown(teardown);
153
}
154
},
155
};
156
157
const
safeObserver: Observer<T> = {
Callers
3
runTeardown
Function · 0.80
return
Function · 0.80
error
Function · 0.80
Calls
1
runTeardown
Function · 0.85
Tested by
no test coverage detected