Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SplootCode/splootcode
/ sendHeartbeat
Function
sendHeartbeat
packages/runtime-web/index.ts:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
let
state = FrameState.LOADING
12
13
function
sendHeartbeat() {
14
sendToParent({
type
:
'heartbeat'
, data: { state: state } })
15
}
16
17
function
setState(newState: FrameState) {
18
const
isNew = state !== newState
Callers
2
setState
Function · 0.85
handleMessage
Function · 0.85
Calls
1
sendToParent
Function · 0.85
Tested by
no test coverage detected