getOrpcSubscriptionKey
Key of a subscription - listeners of the same topic with the same input share one server subscription.
The input is read in the wire format, so values like
Date
or
Map
stay distinct.
Import
import { getOrpcSubscriptionKey } from "@hyper-fetch/orpc"
Source
Package
Parameters
getOrpcSubscriptionKey(topic: string, payload: unknown, serializer: StandardRPCSerializer)
Parameters
| Name | Type | Description |
|---|---|---|
| topic | | |
| payload | | |
| serializer | |
Returns
string

