Hyperlinkv0.8.0-beta.28

ApiMetrics

Source src/ApiMetrics.ts:1799 lines
export const layer = <Self>(
  tag: ApiMetricsTag<Self>,
  options?: ApiMetricsTagOptions,
): Layer.Layer<Self, never, Scope.Scope> =>
  Layer.unwrap(
    Effect.map(buildImpl(tag[clientIdSym], options), (impl) =>
      resourceLayer(tag, impl),
    ),
  );
Referenced by 1 symbols