mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Clarify that all of dart:isolate is native only
Change-Id: I7ab2ba3db7828d152c9b3a521389a2e04b0c644f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216660 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Michael Thomsen <mit@google.com>
This commit is contained in:
parent
cebf84d729
commit
914f100be4
1 changed files with 5 additions and 3 deletions
|
@ -6,6 +6,10 @@
|
|||
/// independent workers that are similar to threads
|
||||
/// but don't share memory,
|
||||
/// communicating only via messages.
|
||||
///
|
||||
/// *NOTE*: The `dart:isolate` library is currently only supported by the
|
||||
/// [Dart Native](https://dart.dev/overview#platform) platform.
|
||||
|
||||
///
|
||||
/// To use this library in your code:
|
||||
/// ```dart
|
||||
|
@ -608,9 +612,7 @@ abstract class SendPort implements Capability {
|
|||
/// In the special circumstances when two isolates share the same code and are
|
||||
/// running in the same process (e.g. isolates created via [Isolate.spawn]),
|
||||
/// it is also possible to send object instances (which would be copied in the
|
||||
/// process). This is currently only supported by the
|
||||
/// [Dart Native](https://dart.dev/platforms#dart-native-vm-jit-and-aot)
|
||||
/// platform.
|
||||
/// process).
|
||||
///
|
||||
/// The send happens immediately and doesn't block. The corresponding receive
|
||||
/// port can receive the message as soon as its isolate's event loop is ready
|
||||
|
|
Loading…
Reference in a new issue