Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ onMessage
Function
onMessage
packages/platform-browser/src/internal/worker.ts:22–24 ·
view source on GitHub ↗
(event: MessageEvent)
Source
from the content-addressed store, hash-verified
20
},
21
listen({ deferred, emit, port, scope }) {
22
function
onMessage(event: MessageEvent) {
23
emit(event.data)
24
}
25
function
onError(event: ErrorEvent) {
26
Deferred.unsafeDone(
27
deferred,
Callers
nothing calls this directly
Calls
1
emit
Function · 0.50
Tested by
no test coverage detected