effect-io-ai

Package: effect
Module: TPubSub

TPubSub.awaitShutdown

Waits until the TPubSub is shutdown. The STM returned by this method will not resume until the queue has been shutdown. If the TPubSub is already shutdown, the STM will resume right away.

Signature

declare const awaitShutdown: <A>(self: TPubSub<A>) => STM.STM<void>

Source

Since v2.0.0