Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/starfx/fx/supervisor.ts

A micro-mvc framework for react apps
Latest
import * as starfx from "https://deno.land/x/starfx@v0.13.4/fx/supervisor.ts";

Functions

keepAlive accepts a list of operations and calls them all with supervise

supvervise will watch whatever Operation is provided and it will automatically try to restart it when it exists. By default it uses a backoff pressure mechanism so if there is an error simply calling the Operation then it will exponentially wait longer until attempting to restart and eventually give up.