Commit cf8ef09 1 parent 12acfa5 commit cf8ef09 Copy full SHA for cf8ef09
File tree 2 files changed +4
-4
lines changed
examples/concurrency/lib/basic_ports_example
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ class Worker {
8
8
}
9
9
10
10
void _handleResponsesFromIsolate (dynamic message) {
11
- // TODO: Define code that should be executed on the worker isolate.
11
+ // TODO: Handle messages sent back from the worker isolate.
12
12
}
13
13
14
14
static void _startRemoteIsolate (SendPort port) {
15
- // TODO: Handle messages sent back from the worker isolate.
15
+ // TODO: Define code that should be executed on the worker isolate.
16
16
}
17
17
18
18
Future <void > parseJson (String message) async {
Original file line number Diff line number Diff line change @@ -310,11 +310,11 @@ class Worker {
310
310
}
311
311
312
312
void _handleResponsesFromIsolate(dynamic message) {
313
- // TODO: Define code that should be executed on the worker isolate.
313
+ // TODO: Handle messages sent back from the worker isolate.
314
314
}
315
315
316
316
static void _startRemoteIsolate(SendPort port) {
317
- // TODO: Handle messages sent back from the worker isolate.
317
+ // TODO: Define code that should be executed on the worker isolate.
318
318
}
319
319
320
320
Future<void> parseJson(String message) async {
You can’t perform that action at this time.
0 commit comments