effect-io-ai

Package: effect
Module: PubSub

PubSub.publish

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

Signature

declare const publish: { <A>(value: A): (self: PubSub<A>) => Effect.Effect<boolean>; <A>(self: PubSub<A>, value: A): Effect.Effect<boolean>; }

Source

Since v2.0.0