MCPcopy Create free account
hub / github.com/Effect-TS/effect / send

Method send

packages/platform/node-shared/src/internal/proxyProcess.ts:360–365  ·  view source on GitHub ↗
(message: unknown)

Source from the content-addressed store, hash-verified

358 }
359
360 private send(message: unknown): void {
361 if (this.child?.connected !== true) return
362 this.child.send(message as NodeChildProcess.Serializable, (error: Error | null) => {
363 if (error) this.end(error)
364 })
365 }
366
367 private startTimer(key: number | "ready"): void {
368 const millis = this.options.responseTimeoutMillis

Callers 2

constructorMethod · 0.95
spawnMethod · 0.95

Calls 2

endMethod · 0.95
sendMethod · 0.65

Tested by

no test coverage detected