Skip to main content
Module

x/domain_functions/src/constructor.ts

Decouple your business logic from your framework. With first-class type inference from end to end.
Go to Latest
import * as domainFunctions from "https://deno.land/x/domain_functions@v2.6.0/src/constructor.ts";

Functions

Creates a domain function. After giving the input and environment schemas, you can pass a handler function that takes type safe input and environment. That function is gonna catch any errors and always return a Result.

Creates a domain function. After giving the input and environment schemas, you can pass a handler function that takes type safe input and environment. That function is gonna catch any errors and always return a Result.