Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isMsgCheckForUpdates
Function
isMsgCheckForUpdates
packages/service-worker/worker/src/msg.ts:18–20 ·
view source on GitHub ↗
(msg: MsgAny)
Source
from the content-addressed store, hash-verified
16
}
17
18
export
function
isMsgCheckForUpdates(msg: MsgAny): msg is MsgCheckForUpdates {
19
return
msg.action ===
'CHECK_FOR_UPDATES'
;
20
}
21
22
export
interface
MsgActivateUpdate {
23
action:
'ACTIVATE_UPDATE'
;
Callers
1
handleMessage
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected