Remove ProviderHealth onReady callback from service interface

- Drop the unused `onReady` hook from `ProviderHealthShape`
- Keep startup health status access focused on `getStatuses`
This commit is contained in:
Julius Marminge committed 2026-03-09 12:23:33 -07:00
1 parent fd98835834
commit 75533fbd40
1 file changed
-4
@@ -15,10 +15,6 @@ export interface ProviderHealthShape {
* Read provider health statuses computed at server startup.
*/
readonly getStatuses: Effect.Effect<ReadonlyArray<ServerProviderStatus>>;
/**
* Register a callback invoked once when background health checks complete.
*/
readonly onReady: (cb: (statuses: ReadonlyArray<ServerProviderStatus>) => void) => void;
}
export class ProviderHealth extends ServiceMap.Service<ProviderHealth, ProviderHealthShape>()(