Skip to content

Commit f8295fa

Browse files
mralephcommit-bot@chromium.org
authored andcommitted
[sdk] Clarify SendPort.send comment
The comment referred to "dart vm" which confused users reading documentation. Use "Dart Native" instead and link to the page on the site describing it. [email protected], [email protected] Issue #38964 Change-Id: I50cf1b67d9e709d81a1ca7dced8da2f84488873e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161781 Reviewed-by: Lasse R.H. Nielsen <[email protected]> Commit-Queue: Vyacheslav Egorov <[email protected]>
1 parent 909a05c commit f8295fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdk/lib/isolate/isolate.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ abstract class SendPort implements Capability {
624624
* In the special circumstances when two isolates share the same code and are
625625
* running in the same process (e.g. isolates created via [Isolate.spawn]), it
626626
* is also possible to send object instances (which would be copied in the
627-
* process). This is currently only supported by the dart vm.
627+
* process). This is currently only supported by the
628+
* [Dart Native](https://dart.dev/platforms#dart-native-vm-jit-and-aot)
629+
* platform.
628630
*
629631
* The send happens immediately and doesn't block. The corresponding receive
630632
* port can receive the message as soon as its isolate's event loop is ready

0 commit comments

Comments
 (0)