Skip to content

Commit

Permalink
Merge pull request #4 from andrewwormald/andreww-updateReadme
Browse files Browse the repository at this point in the history
update readme for connection keys and count
  • Loading branch information
andrewwormald authored Feb 27, 2024
2 parents 5779c38 + a2be1a0 commit 223a847
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ func (s *Stream) Read() chan ReceiveMessage {}
// Collect uses the provided channelID to fetch the channel
func (s *Stream) Collect(channelID string) (*Channel, error) {}

// Connections returns the amount of valid channels that are in the Stream.
func (s *Stream) Connections() int {}
// ConnectionsCount returns the amount of valid channels that are in the Stream.
func (s *Stream) ConnectionsCount() int {}

// ConnectionKeys returns the keys of all the current valid connections.
func (s *Stream) ConnectionKeys() []string {}

```
### Options
Expand Down

0 comments on commit 223a847

Please sign in to comment.