DefaultTimeProvider

Platform-specific implementation of TimeProvider. This expect declaration is completed by actual implementations in platform-specific source sets (JVM, Native, JS) to provide optimal time handling for each platform.

Example JVM implementation might use System.currentTimeMillis(), while JS implementation might use Date.now().

Functions

Link copied to clipboard
open override fun getCurrentTimestamp(): Long

Retrieves the current timestamp in milliseconds. This method is used throughout the memory system to: