effect-io-ai

Package: effect
Module: TPubSub

TPubSub.publishAll

Publishes all of the specified messages to the TPubSub, returning whether they were published to the TPubSub.

Signature

declare const publishAll: { <A>(iterable: Iterable<A>): (self: TPubSub<A>) => STM.STM<boolean>; <A>(self: TPubSub<A>, iterable: Iterable<A>): STM.STM<boolean>; }

Source

Since v2.0.0