effect-io-ai

Package: effect
Module: Context

Context.ServiceClass.Shape

Runtime and type-level metadata carried by a class-style service key, including its service type identifier, string key, and service shape.

Signature

export interface Shape<Identifier extends string, Service> {
    readonly [ServiceTypeId]: typeof ServiceTypeId
    readonly key: Identifier
    readonly Service: Service
  }

Source

Since v4.0.0