2

When I want to start listening to a stream on DataSift I use start_stream_subscriber()

But how do I stop listening to the stream?

I found no method in the API that stops a stream, and thus stopping DataSift from billing me.

Ben
  • 51,770
  • 36
  • 127
  • 149
Ryan
  • 5,456
  • 25
  • 71
  • 129

1 Answers1

0

You can register callback method that listens for stream closing with on_closed.

jsalonen
  • 29,593
  • 15
  • 91
  • 109