Skip to main content
Version: v9.0.0

OptimisticSendOptionType

Per-call optimistic update - operations or a callback like the one of setOptimistic . Replaces the request's own.


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

Preview​

type OptimisticSendOptionType<Req> = OptimisticUpdatesType | OptimisticCallback<Req, any>;