Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ProviderSessionReaper.ts

15 lines504 Bytes

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>;
11​
12export class ProviderSessionReaper extends Context.Service<
13 ProviderSessionReaper,
14 ProviderSessionReaperShape
15>()("t3/provider/Services/ProviderSessionReaper") {}