Skip to content

Make runnable group's Start method configurable to block until runnables Start method exit. #3221

Open
@godwinpang

Description

@godwinpang

runnablegroup.Start currently returns once the runnables in the group have been started. There is a new use case in #3192 where we want to block runnablegroup.Start until the runnablegroup's runnables Start method exit. The only way of doing so today is to add a separate method to track each runnable's completion and hook it as a check into the runnablegroup.

Handwavey proposal is either to

  • Introduce a new BlockingRunnableGroup.
  • Make the Start blocking behavior configurable.

Context: #3192 (comment)_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions