ObjectHolder

class ObjectHolder<T>(val instance: T, val maxDuration: Duration, val createdAt: Instant = Clock.System.now())

Constructors

Link copied to clipboard
constructor(instance: T, maxDuration: Duration, createdAt: Instant = Clock.System.now())

Properties

Link copied to clipboard
val createdAt: Instant
Link copied to clipboard
val instance: T
Link copied to clipboard

Functions

Link copied to clipboard