@events.alias(on)<EOL>def stall_warning(data):
<EOL>n (warning(data)<EOL>and data.get('<STR_LIT>').get('<STR_LIT:code>') == "<STR_LIT>")<EOL>
Event triggered when receiving a stall warning

For more information:
https://dev.twitter.com/streaming/overview/messages-types#stall-warnings-warning