Type alias CreateOptions

CreateOptions: {
    headers: Record<string, string>;
    idempotencyKey: string | undefined;
    param: unknown;
    strict: boolean;
    tags: Record<string, string>;
}

Durable Promise create options.

Type declaration

  • headers: Record<string, string>

    Durable Promise headers.

  • idempotencyKey: string | undefined

    Durable Promise idempotency key.

  • param: unknown

    Durable Promise param, will be encoded with the provided encoder.

  • strict: boolean

    Create the Durable Promise in strict mode.

  • tags: Record<string, string>

    Durable Promise tags.