MCPcopy
hub / github.com/Effect-TS/effect / emit

Function emit

packages/platform/src/Multipart.ts:295–297  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

293 const input: AsyncInput.AsyncInputProducer<IE, Chunk.Chunk<Uint8Array>, unknown> = {
294 awaitRead: () => Effect.void,
295 emit(element) {
296 return mailbox.offer(element)
297 },
298 error(cause) {
299 exit = Option.some(Exit.failCause(cause))
300 return mailbox.end

Callers

nothing calls this directly

Calls 1

offerMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…