I’m currently using twitty-twister to stream live Twitter messages into a long-running app, however sometimes I need to restart the stream to change the tracking parameters. Is it possible to disconnect this stream from Twitter using this library?
I’m currently using twitty-twister to stream live Twitter messages into a long-running app, however
Share
After doing some research on this problem, I discovered that it isn’t possible to “turn off” the Twitter stream.
The solution was to instead run the Twitty Twister script within its own process using
reactor.spawnProcess:Then if you want to close the process: