Hyperlinkv0.8.0-beta.28

FleetHealth

Source src/FleetHealth.ts:32512 lines
export const layer = <Self>(
  tag: FleetHealthTag<Self>,
  options?: FleetHealthOptions,
): Layer.Layer<
  Self | Hyperlink.Local<Self>,
  never,
  PeersId<Self> | SelfNodeId<Self>
> =>
  buildImpl(tag, options).pipe(
    Effect.map((impl) => resourceLayer(tag, impl)),
    Layer.unwrap,
  );