Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

TODO: Separate bidiStreamCount and uniStreamCount properties #314

Open
jasnell opened this issue Feb 3, 2020 · 0 comments
Open

TODO: Separate bidiStreamCount and uniStreamCount properties #314

jasnell opened this issue Feb 3, 2020 · 0 comments

Comments

@jasnell
Copy link
Member

jasnell commented Feb 3, 2020

Currently, QuicStream has separate bidiStreamCount and uniStreamCount properties that return the total number of streams of each type. The question is whether these are good as separate properties or whether it would be more useful to combine into a single property that returns both, as in:

const {uni, bidi} = session.streamCount;

Note: there are lots of other statistics properties on the QuicSession

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant