https://github.com/polymerlabs/actor-helpers
https://github.com/polymerlabs/actor-helpers
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/polymerlabs/actor-helpers
- Owner: PolymerLabs
- License: bsd-3-clause
- Created: 2018-09-17T12:14:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T00:03:12.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T16:53:08.678Z (about 1 year ago)
- Language: TypeScript
- Size: 652 KB
- Stars: 108
- Watchers: 20
- Forks: 8
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# actor-helpers
Helpers to build web applications based on the [actor model].
These helpers are used in our examples, for which you can find our boilerplate [here][boilerplate].
We encourage you to read through the boilerplate examples first and then read through the code in this repository.
## actor.ts
`actor.ts` contains a base class implementation for an actor, as well as functions to `hookup()` and `lookup()` actors on the web page.
For more detailed examples, please check out the in-file documentation.
## watchable-message-store.ts
This store is an implementation detail of the messaging system used by `hookup()` and `lookup()` to allow actors to communicate with one another. You shouldn't need to interact directly with the message store, but it's here all the same if you do.
[actor model]: https://en.wikipedia.org/wiki/Actor_model
[boilerplate]: https://github.com/polymerlabs/actor-boilerplate
---
License BSD-3-clause
Please note: this is not a Google product.