Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ postMessage
Function
postMessage
packages/effect/test/unstable/workers/WorkerError.test.ts:100–102 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
98
setup: () =>
99
Effect.succeed({
100
postMessage() {
101
throw
new
Error(
"post failed"
)
102
}
103
}),
104
listen: (options) =>
105
Effect.sync(() => {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected