UNPKG

@sanity/sdk

Version:
11 lines (10 loc) 485 B
/** * When a document has no more subscribers, its state is cleaned up and removed * from the store. A delay used to prevent re-creating resources when the last * subscriber is removed quickly before another one is added. This is helpful * when used in a frontend where components may suspend or transition to * different views quickly. */ export const DOCUMENT_STATE_CLEAR_DELAY = 1000 export const INITIAL_OUTGOING_THROTTLE_TIME = 1000 export const API_VERSION = 'v2025-05-06'