kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
offline-outbox
/
com.siddharth.kmp.offlineoutbox
/
OpEntry
Op
Entry
data
class
OpEntry
(
val
id
:
String
,
val
type
:
String
,
val
payload
:
String
,
val
attempts
:
Int
,
val
status
:
OpStatus
,
val
lastError
:
String
?
,
val
createdAtMs
:
Long
)
One logged operation.
id
is the idempotency key;
attempts
counts transient failures so far.
Members
Constructors
Op
Entry
Link copied to clipboard
constructor
(
id
:
String
,
type
:
String
,
payload
:
String
,
attempts
:
Int
,
status
:
OpStatus
,
lastError
:
String
?
,
createdAtMs
:
Long
)
Properties
attempts
Link copied to clipboard
val
attempts
:
Int
created
At
Ms
Link copied to clipboard
val
createdAtMs
:
Long
id
Link copied to clipboard
val
id
:
String
last
Error
Link copied to clipboard
val
lastError
:
String
?
payload
Link copied to clipboard
val
payload
:
String
status
Link copied to clipboard
val
status
:
OpStatus
type
Link copied to clipboard
val
type
:
String