import { type IVisitorCacheImplementation } from "https://deno.land/x/flagship_io_js_sdk@3.2.1/cache/IVisitorCacheImplementation.ts";
Methods
cacheVisitor(visitorId: string, Data: VisitorCacheDTO): Promise<void>
This method is called when the SDK needs to cache visitor information in your database.
lookupVisitor(visitorId: string): Promise<VisitorCacheDTO>
This method is called when the SDK needs to get the visitor information corresponding to visitor ID from your database.