Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created February 13, 2011 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreypopp/825116 to your computer and use it in GitHub Desktop.
Save andreypopp/825116 to your computer and use it in GitHub Desktop.
from imagination.actors import Actor, react
class MyActor(Actor):
@react({"a": str, "b": [int]})
def process_message(self, message):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment