dartist / redis_client

A high-performance async/non-blocking Redis client for Dart
BSD 2-Clause "Simplified" License
100 stars 29 forks source link

add support for commands with multiple responses #64

Open andreleblanc-wf opened 8 years ago

andreleblanc-wf commented 8 years ago

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 commented 8 years ago

+1 despite my beef with variable names. goodenuf