You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is a re-implementation of [vapor/redis](https://github.com/vapor/redis) stripped down to only build on SwiftNIO to be framework agnostic.
40
42
@@ -105,9 +107,13 @@ A `ByteToMessageDecoder` and `MessageToByteEncoder` are used for the conversion
105
107
### NIORedisConnection
106
108
This class uses a `ChannelInboundHandler` that handles the actual process of sending and receiving commands.
107
109
108
-
While it does handle a "pipeline" queue of messages, so as to not be blocking, it is _not_ the same as [Redis' Pipelining](https://redis.io/topics/pipelining).
110
+
While it does handle a queue of messages, so as to not be blocking, pipelining is implemented with `NIORedisPipeline`.
109
111
110
-
That is a feature for future development.
112
+
### NIORedisPipeline
113
+
A `NIORedisPipeline` is a quick abstraction that buffers an array of complete messages as `RedisData`, and executing them in sequence after a
114
+
user has invoked `execute()`.
115
+
116
+
It returns an `EventLoopFuture<[RedisData]>` with the results of all commands executed - unless one errors.
0 commit comments