I hereby claim:
- I am dmknoll06 on github.
- I am dmknoll (https://keybase.io/dmknoll) on keybase.
- I have a public key ASBUJxYWmPWrRjqiUXPke2Vtdr6CfJ1UeF0llyNX7RbVJgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# purpose of this is to show a simplified form of how i would organize routing of events to handlers | |
# e.g. creating agents or handlers for various pantheon events | |
# the usage is to call route() with an event payload. route will then call all relevant handlers with that payload | |
# sample stubbed handlers. | |
# in real life, these would be fancy and complicated. this is just to show the logic for choosing what to invoke so they are stubs | |
def notify(payload): | |
print "notifying {}".format(payload) |