class PanicStrategy
extends DefaultStrategy
import { PanicStrategy } from "https://deno.land/x/flagship_io_js_sdk@3.1.3/visitor/index.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(): 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>
| HitAbstract
| IHit
| HitShape
| BatchDTO
sendHits(_hits: ): Promise<void>
| HitAbstract[]
| IHit[]
| HitShape[]
| BatchDTO[]
setConsent(hasConsented: boolean): void
updateContext(): void
userExposed(): Promise<void>