Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias StepFn
import { type StepFn } from "https://deno.land/x/cicada@v0.1.2/lib.ts";

A step function that can return void or a number and can be synchronous or asynchronous.

definition: () =>
| void
| Promise<void>
| number
| Promise<number>