forEach

fun forEach(execute: (listener: T) -> Unit)

iterate over the listeners

Parameters

execute

a function to execute on each listener