Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/script_nop/src/FactBaseElement.ts>default#notify

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

Notifies Attributes in depth.

Parameters

input: any

the data value, eg { a: { foo: "bar" } }.

optional
mode:
| "IGNORE_MISSING"
| "REPLACE"
| "FORCE"
| "REPLACE_AND_IGNORE_MISSING"
| "IGNORE_MISSING_AND_FORCE"
| "REPLACE_AND_FORCE"
| "REPLACE_AND_IGNORE_MISSING_AND_FORCE"
| ""
= [UNSUPPORTED]

optional, if mode includes "IGNORE_MISSING", attributes missing in "input" will not be considered as excluded. if mode includes "REPLACE", there will be a total replacement of the Attributes that are contained in the input. if mode includes "FORCE" Notifications will be forced to Attributes even if the values of these Attributes are not modified, given the Attributes that are contained in the input.