Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class PanicStrategy
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:
| HitAbstract
| IHit
| HitShape
| BatchDTO
): Promise<void>
sendHits(_hits:
| HitAbstract[]
| IHit[]
| HitShape[]
| BatchDTO[]
): Promise<void>
setConsent(hasConsented: boolean): void
userExposed(): Promise<void>