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

Method unsafeOffer

packages/effect/src/Queue.ts:113–113  ·  view source on GitHub ↗

* Places one value in the queue when possible without needing the fiber runtime.

(value: A)

Source from the content-addressed store, hash-verified

111 * Places one value in the queue when possible without needing the fiber runtime.
112 */
113 unsafeOffer(value: A): boolean
114
115 /**
116 * For Bounded Queue: uses the `BackPressure` Strategy, places the values in

Callers 15

makeQueueFunction · 0.65
handleKeypressFunction · 0.65
onFromClientMethod · 0.65
toChannelMapFunction · 0.65
RpcServer.tsFile · 0.65
Queue.test.tsFile · 0.65
unsafeOfferMethod · 0.65
queue.tsFile · 0.65
flushFunction · 0.65
doneFunction · 0.65
endFunction · 0.65
EventLogServer.tsFile · 0.65

Implementers 4

QueueSpypackages/effect/test/Sink/constructors
MailboxImplpackages/effect/src/internal/mailbox.t
PubSubImplpackages/effect/src/internal/pubsub.ts
QueueImplpackages/effect/src/internal/queue.ts

Calls

no outgoing calls

Tested by 2

unsafeOfferMethod · 0.52
unprocessedMessagesByIdFunction · 0.52