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 authored and Julius Marminge committed 2026-03-09 14:02:29 -07:00
1 parent 074d3af79c
commit 1f47cc6f4e
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>()(