Type Alias SerialEventCancelCallback

Source
Expand description

The callback type passed to SerialEvent constructor to be called when the event is cancelled

type SerialEventCancelCallback = (current: SerialId, latest: SerialId) => void