mirror of https://github.com/AMT-Cheif/drift.git
10 lines
412 B
Dart
10 lines
412 B
Dart
import 'package:drift/wasm.dart';
|
|
|
|
/// This Dart program is the entrypoint of a web worker that will be compiled to
|
|
/// JavaScript by running `build_runner build`. The resulting JavaScript file
|
|
/// (`shared_worker.dart.js`) is part of the build result and will be shipped
|
|
/// with the rest of the application when running or building a Flutter web app.
|
|
void main() {
|
|
return WasmDatabase.workerMainForOpen();
|
|
}
|