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

PlayerLatencyPolicy

import type { PlayerLatencyPolicy } from "https://aws-api.deno.dev/v0.3/services/gamelift.ts?docs=full";

Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.

Latency policies are part of a "GameSessionQueue".

interface PlayerLatencyPolicy {
MaximumIndividualPlayerLatencyMilliseconds?: number | null;
PolicyDurationSeconds?: number | null;
}

§Properties

§
MaximumIndividualPlayerLatencyMilliseconds?: number | null
[src]

The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

§
PolicyDurationSeconds?: number | null
[src]

The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.