During your run you can wait for a period of time or for something to happen.
wait.for
or wait.until
), if the wait is longer than 5 seconds we checkpoint and it does not count towards compute usage.
Function | What it does |
---|---|
wait.for() | Waits for a specific period of time, e.g. 1 day. |
wait.until() | Waits until the provided Date . |
wait.forToken() | Pauses runs until a token is completed. |