execution/google-identity-attestation-maintenance-fence
@sarj-ai/workspace-sync/execution/google-identity-attestation-maintenance-fence ยท Source
import type { D1Database } from "@cloudflare/workers-types";import type { GitHubIdentityAdminAttestationPlan } from "../identity-sync/github-identity-admin-attestation.ts";import { type GoogleIdentityAttestationGuard, type GoogleIdentityMaintenanceFence } from "../identity-sync/google-identity-maintenance-fence-error.ts";/** Acquires the same atomic fence checked by scheduler admission; never pauses or rewrites an existing tick. */export declare class GoogleIdentityAttestationMaintenanceFence implements GoogleIdentityMaintenanceFence<GitHubIdentityAdminAttestationPlan> { #private; constructor(database: D1Database, now?: () => number, permittedAttemptId?: string); withFence<Result>(operation: (guard: GoogleIdentityAttestationGuard<GitHubIdentityAdminAttestationPlan>) => Promise<Result>): Promise<Result>;}