Rule
Extends:
The definition of Rule class.
Rules are used by a governess. Governess can learn many rules and they are defined in perimeter in most of the cases.
Constructor Summary
Public Constructor | ||
public |
constructor(str: *, def: *) |
Member Summary
Public Members | ||
public |
definition: * |
|
public |
type: * |
Method Summary
Public Methods | ||
public |
verify(args: ...*): * |
Inherited Summary
From class PubSub | ||
public |
trigger(name: *, args: ...*): * Trigger all events synchronously by default |
|
public |
triggerAsync(args: ...*): * Trigger asynchronously |
Public Constructors
public constructor(str: *, def: *) source
Params:
Name | Type | Attribute | Description |
str | * | ||
def | * |