Skip to main content
Version: v7.0.0

getRequestType


Import
import { getRequestType } from "@hyper-fetch/core"

Parameters

getRequestType(request: RequestInstance, latestRequest: undefined | QueueItemType)
Parameters
NameTypeDescription
request
RequestInstance
latestRequest
undefined | QueueItemType

Returns

enum DispatcherMode {
ALL_AT_ONCE = "all-at-once";
DEDUPLICATED = "deduplicated";
ONE_BY_ONE = "one-by-one";
PREVIOUS_CANCELED = "previous-canceled";
}
getRequestType
NameTypeDescription
ALL_AT_ONCE
all-at-once
DEDUPLICATED
deduplicated
ONE_BY_ONE
one-by-one
PREVIOUS_CANCELED
previous-canceled
On this page