Skip to main content Link Search Menu Expand Document (external link)

Singleton.ts overview

Since v1.0.0


Exports Grouped by Category


constructors

make

Signature

declare const make: <E, R>(
  name: string,
  run: Effect.Effect<void, E, R>,
  options?: { readonly shardGroup?: string | undefined }
) => Layer.Layer<never, never, Sharding | Exclude<R, Scope>>

Source

Since v1.0.0