typealias GetTimeoutFunction

export type GetTimeoutFunction = (route: string, body: unknown) => number;

A function that determines the timeout for a given request.

(route: string, body: unknown) => number