import { type IFlagshipConfig } from "https://deno.land/x/flagship_io_js_sdk@3.2.4/config/IFlagshipConfig.ts";
Properties
Define a callable in order to get callback when the SDK status has changed.
Specify a custom implementation of LogManager in order to receive logs from the SDK.
Specify delay between two bucketing polling. Default is 2s.
Note: If 0 is given then it should poll only once at start time.
Indicates whether enables or disables the client cache manager. By enabling the client cache, it will allow you to keep cross sessions visitor experience.
Define a callable in order to get callback when the first bucketing polling succeed.
Define a callable to get callback each time bucketing data from Flagship has updated.
You can define an object containing the data received when fetching the bucketing endpoint. Providing this object will make bucketing ready to use and the first polling will immediately check for updates.
You can specify a delay in seconds for hit deduplication. After a hit is sent, any future attempts to send the same hit will be blocked until the specified delay has expired.
Note: If a value of 0 is given, no deduplication process will be used.
Define an object that implement the interface visitorCacheImplementation, to handle the visitor cache.
You can define an object that implements the IHitCacheImplementation interface to manage hits cache.
You can define a callback function that will be called each time a flag is exposed to a user (i.e., when an activation hit is sent by the SDK).
You can define a callback function that will be called each time a flag is exposed to a visitor (i.e., when an activation hit is sent by the SDK).