Doubt about the Serial port Arduino

okk :slight_smile: :slight_smile: :slight_smile: schedule library is a very good option but If I use two loops and (in the hipotetic case) a SerialEvent function. This SerialEvent function when will be execute? If I have two loops this SerialEvent function will be execute when the two loops end?
thankss