Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function workflow
import { workflow } from "https://deno.land/x/pterodactyl@v0.6.0/src/pterodactyl.js";

Annotates a function a a workflow to be registered when provided to the pterodactyl_register script. If a script is executed normally this will return the provided function back to the caller.

Parameters

func
  • Function to annotate as a workflow.
optional
options = [UNSUPPORTED]
  • Options to change the behavior of the registered workflow