You mean the messages from twitter? I haven’t been able to get the “stall_warnings” to work, but other messages are picked up with on_… callbacks like this:
on_connected => sub { say “Connected!”; } ,
on_error => sub { say “Got error:”; ddx shift;} ,
on_eof => sub { say “Got EOF”; } ,
on_keepalive => sub { say “Got keepalive”; } ,
on_delete => sub { say “Got delete”; } ,
on_tweet => sub { …
Of course, in production we have to handle all these situations