effect-io-ai

Package: effect
Module: Layer

Layer.Any

A type-level constraint for working with any Layer type.

When to use

Use to constrain generic parameters or layer collections to any Layer value while preserving its provided, error, and required service types for inference.

Details

This interface is used to constrain generic types to Layer values without specifying exact type parameters.

See

Signature

export interface Any {
  readonly [TypeId]: {
    readonly _ROut: any
    readonly _E: any
    readonly _RIn: any
  }
}

Source

Since v3.9.0