is possible stop stream?

44 views
Skip to first unread message

paol...@gmail.com

unread,
Mar 4, 2016, 8:36:46 AM3/4/16
to Phirehose Users
How to stop a consume method in Phirehose? (Programmaticaly from web of course)

Fenn Bailey

unread,
Mar 8, 2016, 8:13:58 PM3/8/16
to phireho...@googlegroups.com
Yes! 

If you set some sort of flag that is checked in checkFilterPredicates() (which is called frequently), you can bail whenever you want.

eg: 

if (!MyApp::shouldKeepRunning()) {
  $this->disconnect();
}

On Sat, Mar 5, 2016 at 12:36 AM, <paol...@gmail.com> wrote:
How to stop a consume method in Phirehose? (Programmaticaly from web of course)

--

---
You received this message because you are subscribed to the Google Groups "Phirehose Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phirehose-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages