cstephen / hashtag-count

Count hashtag occurrences over time using Twitter's Streaming API.
MIT License
7 stars 4 forks source link

intervalCb being an async function #7

Open koushinrin opened 6 years ago

koushinrin commented 6 years ago

I need to insert the count result into DynamoDB on every interval. But after reading your source code, it seems the intervalCb could only be a synchronized function. I saw you used async.until, so I wonder if it is possible to make intervalCb async?

sean256 commented 5 years ago

I'm not the dev but it is an async function callback.