OLD | NEW |
(Empty) | |
| 1 >>> |
| 2 var map = { |
| 3 'af' : const { |
| 4 'd': 'd', // DAY |
| 5 'E': 'EEE', // ABBR_WEEKDAY |
| 6 'EEEE': 'EEEE', // WEEKDAY |
| 7 'LLL': 'LLL', // ABBR_STANDALONE_MONTH |
| 8 } |
| 9 }; |
| 10 <<< |
| 11 var map = { |
| 12 'af': const { |
| 13 'd': 'd', // DAY |
| 14 'E': 'EEE', // ABBR_WEEKDAY |
| 15 'EEEE': 'EEEE', // WEEKDAY |
| 16 'LLL': 'LLL', // ABBR_STANDALONE_MONTH |
| 17 } |
| 18 }; |
| 19 >>> |
| 20 remote.then((_) => response.first) |
| 21 .whenComplete(response.close) // Close when complete. |
| 22 .then((sendPort) { |
| 23 sendReceive(sendPort, 'foo') |
| 24 .then((msg) { |
| 25 print('remote isolate handler received msg: $msg'); |
| 26 }); |
| 27 }); |
| 28 <<< |
| 29 remote |
| 30 .then((_) => response.first) |
| 31 .whenComplete(response.close) // Close when complete. |
| 32 .then((sendPort) { |
| 33 sendReceive(sendPort, 'foo').then((msg) { |
| 34 print('remote isolate handler received msg: $msg'); |
| 35 }); |
| 36 }); |
OLD | NEW |