Skip to main content
Version: v8.0.0

UseQueueOptionsType


Import
import { UseQueueOptionsType } from "@hyper-fetch/react"

Preview

type UseQueueOptionsType = {
dispatcherType?: auto | fetch | submit;
keepFinishedRequests?: boolean;
}

Structure

UseQueueOptionsType
NameTypeDescription
dispatcherType
auto | fetch | submit

Which dispatcher to use: "auto" picks based on request method, "fetch" or "submit" forces a specific one

keepFinishedRequests
boolean

When true, completed requests remain in the queue list for inspection