Skip to main content
Module

x/effection/lib/instructions.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/instructions.ts";

Functions

Create an Operation that can be either resolved (or rejected) with a synchronous callback. This is the Effection equivalent of new Promise().

Define an Effection resource

Run another operation concurrently as a child of the current one.

Indefinitely pause execution of the current operation. It is typically used in conjunction with an action to mark the boundary between setup and teardown.