Skip to content
PACKAGES

assertKeyedRateLimitOutcome()

Assert and deeply normalize one strict externally authoritative D648 outcome.

import { assertKeyedRateLimitOutcome } from "@graphrefly/ts/rate-limit";
function assertKeyedRateLimitOutcome(value: unknown): KeyedRateLimitOutcome
ParameterTypeDescription
valueunknownCandidate externally authoritative outcome material.

The immutable normalized strict outcome.

import { assertKeyedRateLimitOutcome } from "@graphrefly/ts/rate-limit";

packages/ts/src/rate-limit/keyed-rate-limit.ts