Open History to see the last commit
1import * as Context from "effect/Context";
2import type * as Effect from "effect/Effect";
3import type * as Scope from "effect/Scope";
4
5export interface ProviderSessionReaperShape {
6 /**
7 * Start the background provider session reaper within the provided scope.
8 */
9 readonly start: () => Effect.Effect<void, never, Scope.Scope>;
10}
11
12export class ProviderSessionReaper extends Context.Service<
13 ProviderSessionReaper,
14 ProviderSessionReaperShape
15>()("t3/provider/Services/ProviderSessionReaper") {}