Instance Method
set(_:to:)
Sets an encodable value into the cache. Existing values are replaced. If
nil, removes value.func set<T>(_ key: String, to value: T?) -> EventLoopFuture<Void> where T : Encodable
Default Implementations
Cache Implementations
func set<T>(String, to: T?) async throwsSets an encodable value into the cache. Existing values are replaced. Ifnil, removes value.