Skip to content

Commit

Permalink
Merge pull request #278 from tomek-r/patch-1
Browse files Browse the repository at this point in the history
Fixed assertAsyncField params
  • Loading branch information
TwitchBronBron committed Mar 6, 2024
2 parents f462b5d + 512c326 commit 89969cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ You can control the timeout behavior by passing delay and maxAttempts, as follow
```
'2 second time out, 3 tries
netTask = createObject("roSGNode", "NetworkTask", 2000, 3)
m.assertAsyncField(netTask, "output")
netTask = createObject("roSGNode", "NetworkTask")
m.assertAsyncField(netTask, "output", 2000, 3)
```
If the field does not change during the retry period, the assertion will fail.
Expand Down

0 comments on commit 89969cb

Please sign in to comment.