@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
12 lines • 471 B
TypeScript
import type { TableInfo } from "./getTablesInSchema";
/**
* Waits until backfill of the destination tables finishes.
* https://www.postgresql.org/docs/14/catalog-pg-subscription-rel.html
*/
export declare function waitUntilBackfillCompletes({ fromDsn, tables, toDsn, schema, }: {
fromDsn: string;
tables: TableInfo[];
toDsn: string;
schema: string;
}, throwIfAborted: () => void): Promise<void>;
//# sourceMappingURL=waitUntilBackfillCompletes.d.ts.map