runEventActions

fun runEventActions(name: String, eventActions: Array<EventAction>)

Call this from anywhere to start listening to ProgressEvents.

Parameters

name

This should be a unique name to prevent multiple subscriptions. Only one subscription per name is allowed. The caller can use its class name (this.javaClass.canonicalName) to ensure uniqueness: