Package: effect
Module: RcMap
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
RcMap for the map value that exposes this stateState.Open for the active state with entriesState.Closed for the shutdown stateSignature
type State<K, A, E> = State.Open<K, A, E> | State.Closed
Since v4.0.0