Skip to main content
Module

x/script_nop/mod.ts>Rule

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

Constructors

new
Rule(options: RuleOptions)

Properties

readonly
name
readonly
options
readonly
triggers

Methods

notifyAction(): Promise<void>

checks if a Rule is satisfied and performs its action. It should only be called by rules that already satisfy its dependencies.

Static Properties

coreLoaded: boolean
initialized: boolean