Skip to content

Instance Method

get(_:asJSON:jsonDecoder:)

Gets the provided key as a decodable type.
func get<D>(_ key: RedisKey, asJSON type: D.Type, jsonDecoder: JSONDecoder = JSONDecoder()) -> EventLoopFuture<D?> where D : Decodable