Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ $watch
Method
$watch
packages/common/upgrade/test/upgrade.spec.ts:50–52 ·
view source on GitHub ↗
(fn: any)
Source
from the content-addressed store, hash-verified
48
}
49
50
$watch(fn: any) {
51
this.watchers.push(fn);
52
}
53
54
$broadcast(evt: string, ...args: any[]) {
55
if
(this.events[evt]) {
Callers
nothing calls this directly
Calls
1
push
Method · 0.45
Tested by
no test coverage detected