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

ProviderSessionReaper.ts

14 lines450 Bytes

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