Skip to content

Commit

Permalink
docs: waitFor option
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Feb 23, 2025
1 parent 6c002ee commit 23ab450
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/API/route/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ Limits the number of times the route will be used to respond. If the route has a

Delays responding for the number of milliseconds specified.

### waitFor

`{String}`
Useful for testing race conditions. Use the name of another route, and this route will only respond after that one has. (Note, this does not wait for the body - only the initial response payload).

### sticky

`{Boolean}`
Expand Down

0 comments on commit 23ab450

Please sign in to comment.