Skip to main content
Module

x/script_nop/mod.ts>FactBaseElement

A framework for notification-oriented programming paradigm (NOP) implemented in TypeScript.
Go to Latest
class FactBaseElement
Re-export
import { FactBaseElement } from "https://deno.land/x/script_nop@v1.8.2/mod.ts";

Constructors

new
FactBaseElement(
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(input: any, mode?:
| "IGNORE_MISSING"
| "REPLACE"
| "FORCE"
| "REPLACE_AND_IGNORE_MISSING"
| "IGNORE_MISSING_AND_FORCE"
| "REPLACE_AND_FORCE"
| "REPLACE_AND_IGNORE_MISSING_AND_FORCE"
| ""
): void

Notifies Attributes in depth.