Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isWatchNodeDestroyed
Function
isWatchNodeDestroyed
packages/core/primitives/signals/src/watch.ts:82–84 ·
view source on GitHub ↗
(node: WatchNode)
Source
from the content-addressed store, hash-verified
80
};
81
82
function
isWatchNodeDestroyed(node: WatchNode) {
83
return
node.fn === null && node.schedule === null;
84
}
85
86
function
destroyWatchNode(node: WatchNode) {
87
if
(!isWatchNodeDestroyed(node)) {
Callers
1
destroyWatchNode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected