Skip to content

Instantly share code, notes, and snippets.

@abarya
Created August 3, 2020 11:13
Show Gist options
  • Save abarya/f96199edc038c7c289baa0ac05cc33c6 to your computer and use it in GitHub Desktop.
Save abarya/f96199edc038c7c289baa0ac05cc33c6 to your computer and use it in GitHub Desktop.
def processMessage(message):
'''call various processor functions that process the message in their own ways and log results.
All the processor functions are independent of each other.'''
doSomething1(message)
doSomething2(message)
doSomething3(message)
doSomething4(message)
def doSomething*(message):
'''process message and log results'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment