preventEvents

inline fun preventEvents(run: () -> Unit)