Skip to content

Comments

add support for commands with multiple responses#64

Open
andreleblanc-wf wants to merge 1 commit intodartist:masterfrom
andreleblanc-wf:multiple-responses
Open

add support for commands with multiple responses#64
andreleblanc-wf wants to merge 1 commit intodartist:masterfrom
andreleblanc-wf:multiple-responses

Conversation

@andreleblanc-wf
Copy link

The redis subscribe command returns one MultiBulkReply per channel subscribed to. The current implementation in redis_connection.dart throws an exception when more than 1 channel name is provided.

This patch adds a rawSendMultipleResponses method which returns multiple Receivers, and re-implements subscribe using it.

@anthonypagnotta-wf
Copy link

+1 despite my beef with variable names.
goodenuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants