Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FutureSDR/FutureSDR
/ onmessage
Method
onmessage
examples/rattlegram/assets/decoder-node.js:17–26 ·
view source on GitHub ↗
(event)
Source
from the content-addressed store, hash-verified
15
};
16
17
onmessage(event) {
18
if
(event.
type
===
'wasm-module-loaded'
) {
19
this.port.postMessage({
20
type
:
"init-decoder"
,
21
sampleRate: this.context.sampleRate,
22
});
23
}
else
{
24
this.messageSetter.message(event);
25
}
26
}
27
}
Callers
1
init
Method · 0.95
Calls
1
message
Method · 0.45
Tested by
no test coverage detected