Phants Client for Redis™*
Phants.Redis.Sinks Namespace Reference


interface  ArraySink
interface  BulkStringSink
interface  IntegerSink
interface  SimpleStringSink

Detailed Description

Data sinks; these interfaces define callbacks for each RESP data type. Any class that implements a given sink provides a way for CommandClient to return data corresponding to that sink type. Since any Redis command can return a RESP Error, an error callback is part of each sink type.

For convenience, default Sink implementations are provided (see Phants.Redis.SinkAdapters).