DeliveryStrategyContextType
Context handed to a delivery strategy when a subscription starts.
Import
import { DeliveryStrategyContextType } from "@hyper-fetch/sockets"
Source
Package
Preview
type DeliveryStrategyContextType<Output,Extra> = {
deliver: (message: DeliveryMessageType<Output, Extra>) => void;
}
Structure
DeliveryStrategyContextType
| Name | Type | Description |
|---|---|---|
| deliver | | Hands a (possibly aggregated) message to the user's
|
