2.0.0 • Published 2 years ago

rheaso v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Rheaso

Simple Actor Module

Badges

License Issues Pull Request Stars

Usage

import { Actor, Message } from 'rheaso';

class TestState { }

class TestController {
    public gretting(message: Message<string>): void {
        console.log(`hi! ${message.data}`);
    }
}

const actor = new Actor({ state: TestState, controller: TestController });
actor.tell('greeting', 'rhea');

Learn more ...

Test Coverage

20220311_TestCoverage

Documentation

Contribute

Please. This project is hoping for your contribution
It's not that hard to make a contribution!

Questions

License

Apache-2.0