Setu-TS
    Preparing search index...

    Class IdempotencyObjectCore

    The idempotency Durable Object.

    import { DurableObject } from 'cloudflare:workers';
    import { IdempotencyObjectCore } from '@setu-ts/cloudflare-plugin';

    export class IdempotencyObject extends DurableObject {
    #core = new IdempotencyObjectCore(this.ctx);
    override fetch(request: Request): Promise<Response> {
    return this.#core.fetch(request);
    }
    override alarm(): Promise<void> {
    return this.#core.alarm();
    }
    }

    0.9.0

    Index