Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/theturtle32/WebSocket-Node
/ createMessageEvent
Function
createMessageEvent
lib/W3CWebSocket.js:183–189 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
181
182
183
function
createMessageEvent(data) {
184
var
event =
new
yaeti.Event(
'message'
);
185
186
event.data = data;
187
188
return
event;
189
}
190
191
192
function
onConnect(connection) {
Callers
1
onMessage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected