From: Christopher Allan Webber Date: Sat, 10 Dec 2016 22:16:08 +0000 (-0600) Subject: actors: Remove deprecated call to former "8sync" definition X-Git-Tag: v0.3.0~24 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=387a9f1a6ceb55c5362daae00171a67abc4135dc;p=8sync.git actors: Remove deprecated call to former "8sync" definition These used the old meaning of 8sync, where something would happen asynchronously but return its value. * 8sync/systems/actors.scm (hive-create-actor, hive-create-actor*): Remove call to 8sync, just call its previous body on its own. --- diff --git a/8sync/systems/actors.scm b/8sync/systems/actors.scm index f9574d3..690d63d 100644 --- a/8sync/systems/actors.scm +++ b/8sync/systems/actors.scm @@ -684,16 +684,16 @@ that method for documentation." This is the method actors should call directly (unless they want to supply an id-cookie, in which case they should use create-actor*)." - (8sync (%hive-create-actor (actor-hive from-actor) actor-class - init #f))) + (%hive-create-actor (actor-hive from-actor) actor-class + init #f)) (define* (create-actor* from-actor actor-class id-cookie #:rest init) "Create an instance of actor-class. Return the new actor's id. Like create-actor, but permits supplying an id-cookie." - (8sync (%hive-create-actor (actor-hive from-actor) actor-class - init id-cookie))) + (%hive-create-actor (actor-hive from-actor) actor-class + init id-cookie)) (define (self-destruct actor)