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

x/script_nop/src/FactBaseElement.ts>default

A framework for notification-oriented programming paradigm (NOP) implemented in TypeScript.
Go to Latest
class default
import { default } from "https://deno.land/x/script_nop@v2.2.2/src/FactBaseElement.ts";

Constructors

new
default(
name: string,
initialData?: { [key: string]: any; },
actionContext?: string,
)

Properties

readonly
actionContext
readonly
data
readonly
name

Methods

get(attr: string): Promise<any>

Get an attribute.

notify(
path?: string,
input: { [key: string]: any; } | any[],
mode?:
| "IGNORE_MISSING"
| "FORCE"
| "IGNORE_MISSING_AND_FORCE"
| ""
,
): void

Notifies Attributes in depth.