Skip to content

Commit 2bf3ae0

Browse files
authored
Fix a comment (#2316)
1 parent eb6c19e commit 2bf3ae0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/src/embedded/reusable_isolate.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import 'package:native_synchronization/sendable.dart';
1313
///
1414
/// This must be a static global function. It's run when the isolate is spawned,
1515
/// and is passed a [Mailbox] that receives messages from [ReusableIsolate.send]
16-
/// and a [SendPort] that sends messages to the stream returned by
17-
/// [ReusableIsolate.checkOut].
16+
/// and a [SendPort] that sends messages to the [ReceivePort] listened by
17+
/// [ReusableIsolate.borrow].
1818
///
19-
/// If the [sendPort] sends a message before [ReusableIsolate.checkOut] is
20-
/// called, this will throw an unhandled [StateError].
19+
/// If the [sendPort] sends a message before [ReusableIsolate.borrow] is called,
20+
/// this will throw an unhandled [StateError].
2121
typedef ReusableIsolateEntryPoint = FutureOr<void> Function(
2222
Mailbox mailbox, SendPort sink);
2323

0 commit comments

Comments
 (0)