class PanicStrategy
extends DefaultStrategy
import { PanicStrategy } from "https://deno.land/x/flagship_io_js_sdk@3.2.3/visitor/PanicStrategy.ts";
Methods
private
log(methodName: string)protected
cacheHit(): Promise<void>protected
fetchVisitorCampaigns(): CampaignDTO[]activateModification(_params: string): Promise<void>
activateModifications(_params: string[] | { key: string; }[]): Promise<void>
cacheVisitor(): Promise<void>
clearContext(): void
getFlagMetadata(param: { metadata: IFlagMetadata; key?: string; hasSameType: boolean; }): IFlagMetadata
getFlagValue<T>(param: { key: string; defaultValue: T; flag?: FlagDTO; userExposed?: boolean; }): T
getModificationInfoSync(_key: string): FlagDTO | null
getModificationsSync<T>(params: modificationsRequested<T>[], _activateAll?: boolean): Record<string, T>
getModificationSync<T>(params: modificationsRequested<T>): T
lookupHits(): Promise<void>
lookupVisitor(): Promise<void>
sendHit(_hit: ): Promise<void>
sendHits(_hits: ): Promise<void>
setConsent(hasConsented: boolean): void
updateContext(): void
visitorExposed(): Promise<void>