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

x/starfx/fx/mod.ts

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

Functions

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

The goal of parallel is to make it easier to cooridnate multiple async operations in parallel, with different ways to receive completed tasks.

The goal of safe is to wrap Operations to prevent them from raising and error. The result of safe is always a Result type.

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.