https://github.com/xcraft-inc/xcraft-core-activity
Activities scheduler
https://github.com/xcraft-inc/xcraft-core-activity
activity manager xcraft
Last synced: 28 days ago
JSON representation
Activities scheduler
- Host: GitHub
- URL: https://github.com/xcraft-inc/xcraft-core-activity
- Owner: Xcraft-Inc
- Created: 2016-08-04T13:46:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-02T14:23:56.000Z (9 months ago)
- Last Synced: 2025-04-08T11:38:58.507Z (about 2 months ago)
- Topics: activity, manager, xcraft
- Language: JavaScript
- Size: 66.4 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xcraft-core-activity
Handle the activities for the Xcraft server. An activity begins with a command
and accordingly to some conditions, the command is push in the waiting or in
the running list.The activity manager looks like a trivial scheduler.
A command (new activity) is executed only if:
- The same command with the same orc is not already executing.
- The activity is parallel or no other exclusive activity is already
executing.## API
There are only two public (implemented) methods.
- `status`
- `execute`