pico-framework
v1.10.2
Published
A framework for building actor-based, people-centric systems. (pico = PersIstent Compute Objects)
Readme
pico-framework
A framework for building actor-based, people-centric systems. (pico = PersIstent Compute Objects)
This package lives in the pico-engine monorepo at packages/pico-framework. From the repo root, npm test runs its tests with the others; npm run test:framework runs only these.
Why Picos?
An excellent explanation is here.
What the PicoFramework does
It handles the building blocks of a Pico based system.
- Picos
- Parent / Child relationships
- Channels
- Events
- Queries
- Policies for them
- Rulesets
- What the ruleset code is allowed to do to a pico i.e. sandboxing
The pico-framework also handles persistence of the pico objects. You simply provide the persistence layer via an implementation of abstract-level.
Contributing
Be sure to run the tests before checking in changes.
npm testFrom the pico-engine repo root: npm run test:framework.
Changelog
See CHANGELOG.md. 0.8.1 adds optional custom channel id at creation and PicoFramework.eciIsTaken().
License
MIT
