Import
import { RefCause } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as RefCause from "./RefCause.js";Members
RefCause.RefCauseA RefCause is a RefSubject specialized over a Cause value.
RefCause.hasDiesCheck if the current state of a RefCause has a Die.
RefCause.hasFailsCheck if the current state of a RefCause has a Fail.
RefCause.hasInterruptsCheck if the current state of a RefCause has an Interrupt.
RefCause.isEmptyCheck if the current state of a RefCause is empty.
RefCause.makeCreates a new
RefCausefrom a Cause,Effect, orFx.RefCause.reasonsGet the reasons array of the current state of a RefCause.
RefCause.setDieSet the current state of a RefCause to a Die cause.
RefCause.setFailSet the current state of a RefCause to a Fail cause.
RefCause.setInterruptSet the current state of a RefCause to an Interrupt cause.
RefCause.sizeGet the size (number of failures) of the current state of a RefCause.