def spawn(**kwargs):
    actor = get_actor()
    if not actor:
        raise RuntimeError('No actor available, cannot spawn')
    else:
        return actor.spawn(**kwargs)
Spawn a new :class:`.Actor` and return an :class:`~asyncio.Future`.
dataset/ETHPy150Open quantmind/pulsar/pulsar/async/actor.py/spawn