Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ataraxia-local

Machine-local transport for Network that connects together instances on the same machine via a Unix socket.

import { Network, AnonymousAuth } from 'ataraxia';
import { MachineLocalTransport } from 'ataraxia-local';

// Setup a network
const net = new Network({
name: 'name-of-your-app-or-network',
transports: [
new MachineLocalTransport()
]
});

await net.join();

Index

Generated using TypeDoc