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

x/starfx/fx/supervisor.ts

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

Functions

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.