From 895ebe37aeb4a718bb752a811c8bb5f97ce10758 Mon Sep 17 00:00:00 2001 From: magicghostvu Date: Sat, 2 Jul 2022 23:09:03 +0700 Subject: [PATCH] =?UTF-8?q?#cho=20ph=C3=A9p=20spawn=20b=E1=BA=A5t=20c?= =?UTF-8?q?=E1=BB=A9=20child=20=20n=C3=A0o=20v=E1=BB=9Bi=20parent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/org/magicghostvu/actor/Behaviors.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/magicghostvu/actor/Behaviors.kt b/src/main/kotlin/org/magicghostvu/actor/Behaviors.kt index 0e8db11..d30029a 100644 --- a/src/main/kotlin/org/magicghostvu/actor/Behaviors.kt +++ b/src/main/kotlin/org/magicghostvu/actor/Behaviors.kt @@ -177,7 +177,7 @@ object Behaviors { } @OptIn(ObsoleteCoroutinesApi::class) - fun ActorScope.spawnChild( + fun ActorScope<*>.spawnChild( debug: Boolean = false, factory: suspend () -> Behavior ): MActorRef {