UNPKG

test-rxdb

Version:

A local realtime NoSQL Database for JavaScript applications -

13 lines (12 loc) 676 B
import type { RxCleanupPolicy, RxCollection } from '../../types/index.d.ts'; export declare function startCleanupForRxCollection(rxCollection: RxCollection): Promise<void>; export declare function initialCleanupWait(collection: RxCollection, cleanupPolicy: RxCleanupPolicy): Promise<void>; /** * Runs the cleanup for a single RxCollection */ export declare function cleanupRxCollection(rxCollection: RxCollection, cleanupPolicy: RxCleanupPolicy): Promise<void>; /** * TODO this is not waiting for deletes! * it just runs on interval. */ export declare function runCleanupAfterDelete(rxCollection: RxCollection, cleanupPolicy: RxCleanupPolicy): Promise<void>;