effect-io-ai

Package: effect
Module: RcMap

RcMap.State

Represents the internal state of an RcMap, which can be either Open (active) or Closed (shutdown and no longer accepting operations).

When to use

Use when typing code that inspects an RcMap’s state field and narrows between open and closed lifecycle states.

See

Signature

type State<K, A, E> = State.Open<K, A, E> | State.Closed

Source

Since v4.0.0