Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 315 Bytes

API.md

File metadata and controls

25 lines (15 loc) · 315 Bytes

API

Python

class MyActor(Actor):
    # define any other methods or
    pass

actor = MyActor()
# or
actor = MyActor(name='foo')

actor.send(msg)

msg: Dictionary.

    {'Subject': {...data}}

actor.ask(msg [, to=target_actor_id_or_name])

Works like actor.send, but this is blocker.