Hit | Total | Coverage | |
---|---|---|---|
Lines | 2 | 2 | 100.0% |
Functions | 0 | 0 | - |
Branches | 0 | 0 | - |
Line | Branch | Hits | Source code |
---|---|---|---|
1 | import 'package:web/web.dart' as web; |
||
2 |
|
||
3 | import '../../worker/worker_request.dart'; |
||
4 | import '../xplat/_worker_runner.dart'; |
||
5 | import '_patch.dart'; |
||
6 |
|
||
7 | extension JsWorkerRunnerExt on WorkerRunner { |
||
8 | 1 | void handle(web.MessageEvent event) => |
|
9 | 1 | processRequest(WorkerRequestExt.from(getMessageEventData(event)!)); |
|
10 | } |