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.2.3/visitor/PanicStrategy.ts";

Methods

private
log(methodName: string)
protected
cacheHit(): Promise<void>
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>
lookupHits(): Promise<void>
lookupVisitor(): Promise<void>
sendHit(_hit: ): Promise<void>
sendHits(_hits: ): Promise<void>
setConsent(hasConsented: boolean): void
visitorExposed(): Promise<void>