toggle menu
logical-clocks-kotlin
0.1.0
common
switch theme
search in API
logical-clocks-kotlin
/
pro.felixo.logicalclocks.lamport
/
longLamportClock
long
Lamport
Clock
fun
longLamportClock
(
initialTime
:
Long
,
onNewTime
:
suspend
(
Long
)
->
Unit
=
{}
)
:
LamportClock
<
Long
>
Convenience function to instantiate a
LamportClock
for timestamps of type
Long
.