Scramjet Transform Hub (STH) is a runtime supervisor that can run data processing programs called Sequences and manage local resources on any Linux server, Docker on small edge servers, and even large-scale Kubernetes clusters in the cloud or datacenters. It connects to Scramjet Spaces in Scramjet Cloud Platform.
This introduces an event bus that allows instances to send events to each other within a single hub. It also exposes a hub level API.
Why?
This adds a communication layer between instances that works fairly quickly and allows sequence implementors to broadcast messages between
running instances.
Usage:
In a sequence you can use:
Seq1/index.js: this.emit("myEvent", "my string of event data")
What?
This introduces an event bus that allows instances to send events to each other within a single hub. It also exposes a hub level API.
Why?
This adds a communication layer between instances that works fairly quickly and allows sequence implementors to broadcast messages between running instances.
Usage:
In a sequence you can use:
this.emit("myEvent", "my string of event data")
this.on("myEvent", () => doSomething())
Clickup Task:
How it works:
Review checks:
These aspects need to be checked by the reviewer: