From 2bf3ae0eed0aed7607b153a5a540c02f5fd46674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Wed, 21 Aug 2024 19:49:02 -0700 Subject: [PATCH] Fix a comment (#2316) --- lib/src/embedded/reusable_isolate.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/embedded/reusable_isolate.dart b/lib/src/embedded/reusable_isolate.dart index 3e15bf978..4140f5a37 100644 --- a/lib/src/embedded/reusable_isolate.dart +++ b/lib/src/embedded/reusable_isolate.dart @@ -13,11 +13,11 @@ import 'package:native_synchronization/sendable.dart'; /// /// This must be a static global function. It's run when the isolate is spawned, /// and is passed a [Mailbox] that receives messages from [ReusableIsolate.send] -/// and a [SendPort] that sends messages to the stream returned by -/// [ReusableIsolate.checkOut]. +/// and a [SendPort] that sends messages to the [ReceivePort] listened by +/// [ReusableIsolate.borrow]. /// -/// If the [sendPort] sends a message before [ReusableIsolate.checkOut] is -/// called, this will throw an unhandled [StateError]. +/// If the [sendPort] sends a message before [ReusableIsolate.borrow] is called, +/// this will throw an unhandled [StateError]. typedef ReusableIsolateEntryPoint = FutureOr Function( Mailbox mailbox, SendPort sink);