Skip to content

Commit

Permalink
Add sleep() function (close #83)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Dec 4, 2024
1 parent 2ac574c commit dc40cfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/compiler/src/main/java/script/dsl/ScriptDsl.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ The directory where a module script is located (equivalent to `projectDir` if us
""")
void sendMail(Map<String,?> params);

@Description("""
Sleep for the given number of milliseconds.
""")
void sleep(long milliseconds);

@Description("""
Create a tuple object from the given arguments.
""")
Expand Down

0 comments on commit dc40cfe

Please sign in to comment.