File tree 1 file changed +4
-4
lines changed 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';
13
13
///
14
14
/// This must be a static global function. It's run when the isolate is spawned,
15
15
/// 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 ] .
18
18
///
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] .
21
21
typedef ReusableIsolateEntryPoint = FutureOr <void > Function (
22
22
Mailbox mailbox, SendPort sink);
23
23
You can’t perform that action at this time.
0 commit comments