DasKraken / nntp-fast

A lightweight nntp client for node made with attention to speed and ease of use. Works with promises and streams.
The Unlicense
6 stars 0 forks source link

newsgroup command seems to just hang or crash my process #11

Open stringa opened 3 years ago

stringa commented 3 years ago

Still trying to debug and figure out what is going on. I am calling:

const groups = await conn.newsgroups("2021-07-01").catch((e) => { console.log(e); });

within my electron app, and things are just dying. I've been able to login and get articles, but getting the list of groups has been problematic so far. The commands make sense, just not sure where to go from here.

Love the api, so simple and easy. Just trying to figure this out. All other commands I've tried, like group and article seem to be working.

Also, I can't find where the datatype "Buffer" is defined. Just trying to figure out how to handle and decode this data.

stringa commented 3 years ago

Running it in a seperate node process w/o electron and I'm noticing this command just take forever. I know there are lot of newsroups. Wondering how to not stop the process and process the data. maybe i need a service worker for this.