@gojek/clickstream-web
Version:
A Modern, Fast, and Lightweight Event Ingestion library for Web
18 lines • 441 B
TypeScript
export default class Transport {
constructor({ config, eventBus, store, id }: {
config: any;
eventBus: any;
store: any;
id: any;
});
/**
* Send data over network to clickstream BE
*
* @param batch batch to send
*/
send(batch: import("./store.js").Event[], { retry }?: {
retry?: boolean;
}): Promise<void>;
#private;
}
//# sourceMappingURL=transport.d.ts.map