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