File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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] .
2121typedef ReusableIsolateEntryPoint = FutureOr <void > Function (
2222 Mailbox mailbox, SendPort sink);
2323
You can’t perform that action at this time.
0 commit comments