Redis Documentation

Protocol Redis​Cache​Decoder

public protocol RedisCacheDecoder  

A decoder whose input is convertible from a RESPValue loaded from Redis. Directly based on Combine.TopLevelDecoder but can't extend it because Combine isn't available on Linux.

Requirements

Input

associatedtype Input: RESPValueConvertible

decode(_:​from:​)

func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T: Decodable