Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.59 KB

File metadata and controls

35 lines (25 loc) · 1.59 KB

peer

Adds "./vendor" to the auto_path variable.

Creates a peersBlacklist dict.

functions

  • ::peer {process {dieOnDisconnect false}}: creates a namespace ::Peers::$process with the following functions:
    • share {statements}: share the statements statements to the given peer
    • recieve: recieve from the given peer
    • init {n shouldDieOnDisconnect}: set process to n, set dieOnDisconnect, and connect through Mailbox

CC-BY-SA 2023 Arcade Wise (We can change the license if y'all want, I just wanted to avoid copyright issues)