Skip to main content
Module

x/gusano/index.ts>Block

A minimal workflows lib for Deno 🦖
Latest
interface Block
import { type Block } from "https://deno.land/x/gusano@1.0.0/index.ts";

A Block.

Properties

id: string

ID for the Block. Every block in an engine must have an unique ID.

name: string

Maybe a nice name ;)

version: string

Version of the block.

run: (...args: any[]) => any

Function that will be executed when the block.