UNPKG

@eweser/db

Version:
7 lines (6 loc) 400 B
import type { Registry } from '../../types'; import type { Database } from '../..'; /** in order not to overwhelm the requests for remote server collect, loading the server connections will be staggered with a default 1 second gap * By default will not load remotes */ export declare const loadRooms: (db: Database) => (rooms: Registry, loadRemotes?: boolean, staggerMs?: number) => Promise<void>;