getQueueEvents

fun getQueueEvents(operation: DeviceOperation? = null, state: TaskElementState? = null): List<TaskElement>

Fetches events from the task queue based on their state and operation type.