Skip to content

Commit 157641d

Browse files
mralephCommit Queue
authored and
Commit Queue
committed
[sdk] Followup to 13978f8
Address remaining comments from Lasse for `SendPort.send`. Change-Id: I7fead8aeea9af16cc252b5ddc1bc8cb4d2ffae3d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276526 Reviewed-by: Lasse Nielsen <[email protected]> Commit-Queue: Slava Egorov <[email protected]>
1 parent a11bd0c commit 157641d

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
@@ -720,7 +720,9 @@ abstract class SendPort implements Capability {
720720
/// - [List], [Map], [LinkedHashMap], [Set] and [LinkedHashSet]
721721
/// - [TransferableTypedData]
722722
/// - [Capability]
723-
/// - [SendPort] instances returned by [ReceivePort]'s `sendPort` getter
723+
/// - [SendPort] instances from [ReceivePort.sendPort] or
724+
/// [RawReceivePort.sendPort] where the receive ports are created
725+
/// using those classes' constructors.
724726
/// - Instances of [Type] representing one of the types mentioned above,
725727
/// `Object`, `dynamic`, `void` and `Never` as well as nullable variants
726728
/// of all these types. For generic types type arguments must be sendable

0 commit comments

Comments
 (0)