wendy / com.levibostian.wendy / WendyConfig / addTaskRunnerListener

addTaskRunnerListener

fun addTaskRunnerListener(listener: TaskRunnerListener): Boolean

Listen to updates about the Wendy task runner. Get updates about when tasks get executed, when the task runner is done running all the tasks, etc.

Parameters

listener - Instance of listener to receive the callbacks. Note: Wendy keeps a weak reference to your listener. Make sure that you keep a strong reference to the listener you give!

See Also

TaskRunnerListener