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

x/xstate/src/SimulatedClock.ts>SimulatedClock#setTimeout

Actor-based state management & orchestration for complex app logic.
Go to Latest
method SimulatedClock.prototype.setTimeout
import { SimulatedClock } from "https://deno.land/x/xstate@xstate@5.9.1/src/SimulatedClock.ts";

Parameters

fn: (...args: any[]) => void
timeout: number