GetOrCreateClock return a Lamport clock stored in the Repo. If the clock doesn't exist, it's created.
(name string)
| 201 | // GetOrCreateClock return a Lamport clock stored in the Repo. |
| 202 | // If the clock doesn't exist, it's created. |
| 203 | GetOrCreateClock(name string) (lamport.Clock, error) |
| 204 | |
| 205 | // Increment is equivalent to c = GetOrCreateClock(name) + c.Increment() |
| 206 | Increment(name string) (lamport.Time, error) |
no outgoing calls