/hemera-playground

A simple hemera project.

Primary LanguageJavaScriptMIT LicenseMIT

hemera-playground

A simple hemera project to test how communication works.

Install

First we need to install and run NAT server.
then run npm install

Usage

First run:

node index.js

then you can read the secret value with:

node worker.js READ

also you can change the secret value with:

node worker.js WRITE yourValue

Subscribe

for subscribe to secret value change event you can run:

node subscribe.js