diff --git a/examples/print-messages b/examples/print-messages index 8b2186b..ac66dd0 100755 --- a/examples/print-messages +++ b/examples/print-messages @@ -45,4 +45,5 @@ client = zulip.init_from_options(options) def print_message(message): print message +# This is a blocking call, and will continuously poll for new messages client.call_on_each_message(print_message)