|
2 | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | 3 | // found in the LICENSE file. |
4 | 4 |
|
5 | | -/// This file corresponds to Flutter's |
6 | | -/// [`foundation/isolates.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/isolates.dart). |
7 | | -/// |
8 | | -/// Changes are only synced with the `stable` branch. |
9 | | -/// |
10 | | -/// Last synced commit: |
11 | | -/// [3d46ab9](https://github.com/flutter/flutter/commit/3d46ab920b47a2ecb250c6f890f3559ef913cb0b) |
12 | | -/// |
13 | | -/// The changes are currently manually synced. If you noticed that the Flutter's |
14 | | -/// original `compute` function (and any of the related files) have changed |
15 | | -/// on the `stable` branch and you would like to see those changes in the `compute` package |
16 | | -/// please open an [issue](https://github.com/dartsidedev/compute/issues), |
17 | | -/// and I'll try my best to "merge". |
18 | | -/// |
19 | | -/// The file is intentionally not refactored so that it is easier to keep the |
20 | | -/// compute package up to date with Flutter's implementation. |
21 | | -/// |
22 | | -/// When this library supports just Dart 3, we can delete most of this code |
23 | | -/// an make use of `Isolate.run()` |
| 5 | +// This file corresponds to Flutter's |
| 6 | +// [`foundation/isolates.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/isolates.dart). |
| 7 | +// |
| 8 | +// Changes are only synced with the `stable` branch. |
| 9 | +// |
| 10 | +// Last synced commit: |
| 11 | +// [3d46ab9](https://github.com/flutter/flutter/commit/3d46ab920b47a2ecb250c6f890f3559ef913cb0b) |
| 12 | +// |
| 13 | +// The changes are currently manually synced. If you noticed that the Flutter's |
| 14 | +// original `compute` function (and any of the related files) have changed |
| 15 | +// on the `stable` branch and you would like to see those changes in the `compute` package |
| 16 | +// please open an [issue](https://github.com/dartsidedev/compute/issues), |
| 17 | +// and I'll try my best to "merge". |
| 18 | +// |
| 19 | +// The file is intentionally not refactored so that it is easier to keep the |
| 20 | +// compute package up to date with Flutter's implementation. |
| 21 | +// |
| 22 | +// When this library supports just Dart 3, we can delete most of this code |
| 23 | +// an make use of `Isolate.run()` |
24 | 24 | // ignore_for_file: no_leading_underscores_for_library_prefixes |
25 | 25 |
|
26 | 26 | import 'dart:async'; |
|
0 commit comments