X Tutup
Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 826 Bytes

File metadata and controls

17 lines (13 loc) · 826 Bytes
title sidebarTitle description
Wait: Overview
Overview
During your run you can wait for a period of time or for something to happen.

import PausedExecutionFree from "/snippets/paused-execution-free.mdx";

Waiting allows you to write complex tasks as a set of async code, without having to schedule another task or poll for changes.

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.
X Tutup