Skip to content

Instance Method

get(_:as:)

Gets a decodable value from the cache. Returns nil if not found.
func get<T>(_ key: String, as type: T.Type) -> EventLoopFuture<T?> where T : Decodable

Default Implementations

Cache Implementations

  • get(_:as:)
    Gets a decodable value from the cache. Returns nil if not found.