From what I can tell, Twit.stream() keeps an active connection to the Twitter API, so there's no polling required to get information. In this case, a handler is being attached to the tweet event, which should stay active as long as the app is running.
From what I can tell,
Twit.stream()
keeps an active connection to the Twitter API, so there's no polling required to get information. In this case, a handler is being attached to thetweet
event, which should stay active as long as the app is running.Thanks Andre, so yes. It's not callback based. Serverless fail :(