All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
:construction_worker: New Features
- for new features.:rocket: Improvements
- for changes in existing functionality.:bug: Bug Fixes
- for any bug fixes.:x: Removed
- for now removed features.
-
basic implementation
-
support basic syntax
const task = { module: "console", method: "log", data: { message: "Hello World!" }}
const result = await thread.run(task);
const event = { name: "message", data: { message: "Hello World!" }}
thread.forward(event);
thread.on('name', listener);
thread.sub('name', listener);