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

x/pterodactyl/src/pterodactyl.js>task

Javascript sdk for Flyte
Latest
function task
import { task } from "https://deno.land/x/pterodactyl@v0.6.0/src/pterodactyl.js";

Annotates a function as a task 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 task.
optional
options = [UNSUPPORTED]
  • Options to change the behavior of the registerd task.