UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

13 lines (9 loc) 291 B
// @flow /* eslint-disable no-restricted-globals */ import DatabaseBridge from './DatabaseBridge' import type Worker from './synchronousWorker' const getDefaultExport = (): any => { self.workerClass = new DatabaseBridge(self) return self } export default (getDefaultExport(): Worker)