Skip to main content

Function: subscribeWithCleanupValidation()

function subscribeWithCleanupValidation(
options: PreloadSubscriptionOptions
): Promise<() => void>;

Defined in: src/services/utils/preloadSubscriptions.ts:43

Subscribes to a preload-managed event while enforcing the cleanup contract.

Parametersโ€‹

optionsโ€‹

PreloadSubscriptionOptions

Returnsโ€‹

Promise<() => void>