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

Method publish

packages/effect/src/PubSub.ts:23–23  ·  view source on GitHub ↗

* Publishes a message to the `PubSub`, returning whether the message was published * to the `PubSub`.

(value: A)

Source from the content-addressed store, hash-verified

21 * to the `PubSub`.
22 */
23 publish(value: A): Effect.Effect<boolean>
24
25 /**
26 * Publishes all of the specified messages to the `PubSub`, returning whether they

Callers 7

writeFunction · 0.65
TPubSub.test.tsFile · 0.65
PubSub.test.tsFile · 0.65
writeFunction · 0.65
makeIndexedDbFunction · 0.65
publishStateFunction · 0.65
Sharding.tsFile · 0.65

Implementers 5

BoundedPubSubArbpackages/effect/src/internal/pubsub.ts
BoundedPubSubPow2packages/effect/src/internal/pubsub.ts
BoundedPubSubSinglepackages/effect/src/internal/pubsub.ts
UnboundedPubSubpackages/effect/src/internal/pubsub.ts
PubSubImplpackages/effect/src/internal/pubsub.ts

Calls

no outgoing calls

Tested by

no test coverage detected