Class: Oracle

Oracle(initial)

new Oracle(initial)

Trusted point-of-reference for external services.
Parameters:
Name Type Description
initial Object Initialization vector.
Source:

Methods

_load(path) → {Vector}

Synchronously reads a local path into memory.
Parameters:
Name Type Description
path String dir (path to read)
Source:
Returns:
Computed vector.
Type
Vector

_POST(key, obj) → {Vector}

Handle a request from a client to `create` an object.
Parameters:
Name Type Description
key String [description]
obj Object [description]
Source:
Returns:
[description]
Type
Vector

broadcast(msg) → {Boolean}

Core messaging function for interacting with this object in system-time.
Parameters:
Name Type Description
msg Message Instance of a module:Message object, validated then transmitted verbatim.
Source:
Returns:
Returns `true` on success, `false` on failure.
Type
Boolean