Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/domain_functions/src/types.ts>DomainFunction

Types and functions to make composition easy and safe
Latest
type alias DomainFunction
import { type DomainFunction } from "https://deno.land/x/domain_functions@v3.0.0/src/types.ts";

A domain function. It carries the output type which can be further unpacked with UnpackData and other type helpers.

Type Parameters

optional
Output = unknown
definition: { (input?: unknown, environment?: unknown): Promise<Result<Output>>; }