Question: Is it possible to discover services using DNS-SD on **client** side using some JS library (so to discover services on client's local network)? I found a lot of libraries on npmjs.com, but they all work on Node.js, not on client-side JS.

Answer: 
I finally found how to do! 
Here is the code:

```
sfn.Chain.start(OtherTaskWeDoNotCareHere)
  .next(task1)
  .next(
    new sfn.Choice(this, "task2")
    .when(
      sfn.Condition.booleanEquals("$.isFinished", false),
      task3.next(task1)
    )
    .otherwise(new sfn.Succeed(this, "Done"))
  );

```
I'm glad you were able to figure it out!

Here's some additional information regarding iterating through a loop with Step Functions and Lambda: [Iterating a Loop Using Lambda - AWS Step Functions](https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-create-iterate-pattern-section.html)