Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>WorkflowContext#sleep

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method WorkflowContext.prototype.sleep
Re-export
import { WorkflowContext } from "https://deno.land/x/live@1.60.0/deps.ts";

stop the current workflow execution and sleep the given miliseconds time.

Parameters

sleepMs: number

the time in miliseconds

Returns

SleepCommand