@segment/analytics-react-native
Version:
The hassle-free way to add Segment analytics to your React-Native app.
11 lines • 365 B
TypeScript
import type { SegmentEvent } from '../types';
import { FlushPolicyBase } from './types';
/**
* StatupFlushPolicy triggers a flush right away on client startup
*/
export declare class BackgroundFlushPolicy extends FlushPolicyBase {
start(): void;
onEvent(_event: SegmentEvent): void;
end(): void;
}
//# sourceMappingURL=background-flush-policy.d.ts.map