effect-io-ai

Package: effect
Module: TPubSub

TPubSub.publish

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

Signature

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

Source

Since v2.0.0