Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueueingPolicy

import type { QueueingPolicy } from "https://googleapis.deno.dev/v1/tpu:v2.ts";

Defines the policy of the QueuedRequest.

interface QueueingPolicy {
validAfterDuration?: number;
validAfterTime?: Date;
validInterval?: Interval;
validUntilDuration?: number;
validUntilTime?: Date;
}

§Properties

§
validAfterDuration?: number
[src]

Optional. A relative time after which resources may be created.

§
validAfterTime?: Date
[src]

Optional. An absolute time after which resources may be created.

§
validInterval?: Interval
[src]

Optional. An absolute time interval within which resources may be created.

§
validUntilDuration?: number
[src]

Optional. A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

§
validUntilTime?: Date
[src]

Optional. An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.