import { type IFlagshipConfig } from "https://deno.land/x/flagship_io_js_sdk@3.1.0/config/index.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.
Decide to fetch automatically modifications data when creating a new FlagshipVisitor
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 when the first bucketing polling failed.
Define a callable to get callback each time bucketing data from Flagship has updated.
This is a set of flag data provided to avoid the SDK to have an empty cache during the first initialization.
Specify delay in seconds of hit deduplication. After a hit is sent, all future sending of this hit will be blocked until the expiration of the delay.
Note: if 0 is given, no deduplication process will be used
Define an object that implement the interface visitorCacheImplementation, to handle the visitor cache.
Define an object that implement the interface IHitCacheImplementation, to handle the visitor cache.
If it's set to true, hit cache and visitor cache will be disabled otherwise will be enabled.
Define a callable to get callback each time a Flag have been user exposed (activation hit has been sent) by SDK