I'm working with the ExTwitter library and would like to be able to occasionally kill a call to the streaming API to change parameters.
My current code looks something like this:
for tweet <- ExTwitter.stream_filter(track: terms) do
process_tweet tweet
end
Is there anything I could do to indicate that I don't want any more messages?