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

x/effection/lib/types.ts

Structured concurrency and effects for JavaScript
Go to Latest
import * as effection from "https://deno.land/x/effection@3.0.0-beta.3/lib/types.ts";

Interfaces

`Context`` defines a value which is in effect for a given scope which is an (action, resource, call, or spawn).

A value that is both an Operation and Promise.

An Operation in Effection describes an abstract computation. An operation does not do anything on its own. Rather, it only describes the steps it will take when it runs.

A programatic API to interact with an Effection scope from outside of an Operation.

The Effection equivalent of an AsyncIterable.

The Effection equivalent of an AsyncIterator

A handle to a concurrently running operation that lets you either use the result of that operation, or shut it down.