effect-io-ai

Package: effect
Module: PubSub

PubSub.awaitShutdown

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

Signature

declare const awaitShutdown: <A>(self: PubSub<A>) => Effect.Effect<void>

Source

Since v2.0.0