Module: Serl

'export class/function' chosen over an (export default) expression for explicitness:

Source:
To Do:
  • Make an Atom() class datatype?
  • Check each METHOD... should it be .STATIC or #INSTANCE?
  • Proxy the 'console' object so that we can toggle debug levels
  • serl.js should be serl.mjs - but the lousy dev server doesn't serve the right mime type
  • https://docsify.js.org/#/quickstart ?
  • export class Reference ()

Classes

Node
Pid
Proc

Namespaces

'Node#nodeMap'
'Node#procMap'

Methods

(static) recurse()

Utility function that helps reduce boilerplate in spawn/n for recursing functions.

Source:
To Do:
  • Make 'recurse' work with all arities of spawn/n

Type Definitions

NodeIndex

The primary location of values of his type is at Node.nodeMap.counter. These are then used as keys of Node.nodeMap. They are also used as the first integer value in the string representation of a Pid.

This custom type exists only in documentation, and must be manually enforced in code, by developers.

Type:
  • integer
Source:

ProcIndex

The primary location of values of this type is at Node.procMap.counter. These are then used as the second integer value in the string representation of a Pid. ** UNLIKE NodeIndex, these are NOT keys of Node.procMap. **

This custom type exists only in documentation, and must be manually enforced in code, by developers.

Type:
  • integer
Source: