Skip to content

Simplify submitting commands using lambdas or method references #23

Closed

Description

@rhauch

We currently have a method to submit a command for execution:

Strongback.submit(Command)

While this works, we should add overloaded methods that take:

  • a Runnable function that executes one time;
  • a Runnable function that executes one time, a time to pause, and another function that is called after the pause time;
  • a BooleanSupplier that executes repeatedly while the function returns true;
  • a BooleanSupplier that executes repeatedly while the function returns true, and a maximum duration that the command should run

Activity

  1. modified the milestone: Release 1.1.0 on Oct 28, 2015
  2. added a commit that references this issue on Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions