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!
localhost:8080