draftbit / twitter-lite

A tiny, full-featured, flexible client / server library for the Twitter API
https://npm.im/twitter-lite
MIT License
794 stars 96 forks source link

stream.destroy not always available #159

Open deadbeef84 opened 3 years ago

deadbeef84 commented 3 years ago
const stream = client.stream('statuses/filter', query)
stream.destroy() // crash

destroy function is added asynchronously and is therefore not always available.