def METHOD_NAME(self, event, sync: bool = True):
    "To be used on receiving an event"
    cnanos, clogical = self.tuple()
    enanos, elogical = event.tuple()
    wall = HLC.from_now()
    wnanos, _ = wall.tuple()
    nanos = max(cnanos, enanos, wnanos)
    if nanos == enanos and nanos == cnanos:
        logical = max(clogical, elogical) + 1
    elif nanos == cnanos:
        logical = clogical + 1
    elif nanos == enanos:
        logical = elogical + 1
    else:
        logical = 0
    self._set(nanos, logical)