Give access to different type of data depending of the method using it.

EventCallback<dataType>

Full Example

function(data) {
    data // of type dataType     
});