func run() async throws
s11Hummingbird19MemoryPersistDriverC3runyyYaKFWhat are these?
s11Hummingbird19MemoryPersistDriverC3runyyYaKF
FNV24: [7YRMY]
init(C)
func create(key: String, value: some Codable & Sendable, expires: Duration?) async throws
func get<Object>(key: String, as: Object.Type) async throws -> Object?
func remove(key: String) async throws
func set(key: String, value: some Codable & Sendable, expires: Duration?) async throws
import Hummingbird
actor MemoryPersistDriver<C> where C : Clock, C.Duration == Duration
In memory driver for persist system for storing persistent cross request key/value pairs
init(_ clock: C = .continuous)
func get<Object>(key: String, as: Object.Type) async throws -> Object? where Object : Decodable, Object : Encodable, Object : Sendable