class expyriment.control.CallbackQuitEvent(data=None)

A CallbackQuitEvent.

If a callback function returns a CallbackQuitEvent object the currently processed the wait or event loop function will be quited.


Init CallbackQuitEvent.

dataany data type, optional

you might use this variable to return data or values from your callback function to your main function, since the quited wait or event loop function will return this CallbackQuitEvent