drift/examples/web_worker_example
Simon Binder 2fb7300ad2
Fix web worker example
2023-05-15 21:28:19 +02:00
..
lib Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
web Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
README.md Use `package:js` to wrap sql.js library 2022-04-01 23:42:52 +02:00
analysis_options.yaml Some maintenance work on examples 2022-04-01 22:39:28 +02:00
build.yaml Make `generate_connect_constructor` the default 2023-01-28 16:14:27 +01:00
pubspec.yaml Fix web worker example 2023-05-15 21:28:19 +02:00

README.md

This example demonstrates how a shared web worker can be used with drift.

To view this example, run

dart run build_runner serve

Then, open localhost:8080 in different tabs and note how changes propagate across tabs in real-time!