import { Flagship } from "https://deno.land/x/flagship_io_js_sdk@4.0.2/main/Flagship.ts";
The Flagship
class represents the SDK. It facilitates the initialization process and creation of new visitors.
Properties
Methods
When called, it will batch and send all hits that are in the pool before the application is closed
Return the current config set by the customer and used by the SDK.
Return current status of Flagship SDK.
Return the last visitor created if isNewInstance key is false. Return undefined otherwise.
Creates a new Visitor instance.
Static Properties
Static Methods
When called, it will batch and send all hits that are in the pool before the application is closed
Return the current config set by the customer and used by the SDK.
Return current status of Flagship SDK.
Return the last visitor created if isNewInstance key is false. Return undefined otherwise.
Creates a new Visitor instance.