Package-level declarations

Types

Link copied to clipboard

Android-specific factory for creating the SQLDelight KmpWorkerDatabase.

iOS-specific factory for creating the SQLDelight KmpWorkerDatabase.

Link copied to clipboard
class SqlDelightChainRepository(database: KmpWorkerDatabase) : ChainRepository

SQLDelight-backed ChainRepository.

Link copied to clipboard
class SqlDelightEventStore(database: KmpWorkerDatabase) : EventStore

SQLDelight-backed EventStore that persists terminal task events to SQLite.

Link copied to clipboard
class SqlDelightTaskRepository(database: KmpWorkerDatabase) : TaskRepository

SQLDelight-backed implementation of TaskRepository.

Link copied to clipboard
class SqlDelightTelemetryCollector(database: KmpWorkerDatabase) : TelemetryCollector

SQLDelight-backed implementation of TelemetryCollector.

Link copied to clipboard
interface TaskRepository

Repository abstraction for persisting task state across app restarts.

Functions

Link copied to clipboard
actual fun currentEpochMillis(): Long
actual fun currentEpochMillis(): Long

iOS/macOS: uses POSIX clock_gettime(CLOCK_REALTIME) to get epoch milliseconds. Avoids NSDate.timeIntervalSince1970 which has Kotlin/Native 2.x binding quirks.