allow callable listener type configuration