[]previous and next page

ServerFnRateLimitOption

What serverFn({ rateLimit }) accepts: a limiter, or a limiter with a caller key and a cost.

What serverFn({ rateLimit }) accepts: a limiter, or a limiter with a caller key and a cost.

Import#

ts
import type { ServerFnRateLimitOption } from "@shadow-js/dusk/server";

Signature#

ts
type ServerFnRateLimitOption = RateLimiter | ServerFnRateLimit