Next: , Previous: , Up: actor-lib: A standard library of sorts   [Contents][Index]


6.17 Swappable

The (goblins actor-lib swappable) module provides a mechanism to create an actor of one type and change it to another type later.

Procedure: swappable initial-target [proxy-name]

Spawn and return values representing an actor and an actor which is a capability to swap that actor with another. initial-target is the actor at construction. proxy-name, if provided, is the debug name for the returned actor.