Signature
tsSignature
export type Awaitable<T> = T | Promise<T>;Imports
tsImport
import { Awaitable } from "@/lib/flow/core/result";import { Awaitable } from "@/lib/flow";Type Parameters
TValue produced either immediately or asynchronously.
Details
Flow helpers accept `Awaitable` callbacks so synchronous and asynchronous logic can share the
same behavior authoring APIs.
Source
tsflow/core/result.ts:9-9
export type Awaitable<T> = T | Promise<T>;