Skip to content

Add a groupId listener #52

@levibostian

Description

@levibostian

From the discussion in this issue, adding a global listener for a specific groupId would be beneficial to be able to listen to a group of tasks and when they will all be complete.

Tasks to help you get started:

  • Create a listener interface with the listeners
    • Create callback functions for: runningTask(task: PendingTask), fun allTasksComplete(), fun taskDoneRunning(taskId: Long, successful: Boolean, numberTasksLeftInGroup: Int)
  • Add function in WendyConfig to add a listener to a group by id
  • Add function to remove listener
  • Call callbacks in the task runner.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions