.github
android
api
assets
debian
ios
lib
controllers
database
chat.dart
database.dart
database.g.dart
drift_worker.dart
providers
screens
types
widgets
firebase_options.dart
main.dart
router.dart
theme.dart
linux
macos
snap
web
windows
.gitignore
.metadata
.roadsignrc
README.md
analysis_options.yaml
build.yaml
devtools_options.yaml
firebase.json
pubspec.lock
pubspec.yaml
roadsign.toml
8 lines
294 B
Dart
8 lines
294 B
Dart
import 'package:drift/wasm.dart';
|
|
|
|
// Use `dart compile js -O4 ./drift_worker.dart` to compile this file.
|
|
// And place it in the web/ directory.
|
|
|
|
// When compiled with dart2js, this file defines a dedicated or shared web
|
|
// worker used by drift.
|
|
void main() => WasmDatabase.workerMainForOpen(); |