Add docstring for ActorFactoryTransientStorageDecorator
This commit is contained in:
parent
7e6d3d627e
commit
ac672f65d1
@ -229,6 +229,10 @@ class ActorFactoryDiscreteNet(ActorFactory):
|
|||||||
|
|
||||||
|
|
||||||
class ActorFactoryTransientStorageDecorator(ActorFactory):
|
class ActorFactoryTransientStorageDecorator(ActorFactory):
|
||||||
|
"""Wraps an actor factory, storing the most recently created actor instance such that it
|
||||||
|
can be retrieved.
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, actor_factory: ActorFactory, actor_future: ActorFuture):
|
def __init__(self, actor_factory: ActorFactory, actor_future: ActorFuture):
|
||||||
self.actor_factory = actor_factory
|
self.actor_factory = actor_factory
|
||||||
self._actor_future = actor_future
|
self._actor_future = actor_future
|
||||||
|
Loading…
x
Reference in New Issue
Block a user