The callback type passed to SerialEvent constructor to be called when the event is cancelled
type SerialEventCancelCallback = (current: SerialId, latest: SerialId) => void
The callback type passed to SerialEvent constructor to be called when the event is cancelled