Name: POSIS
Owner: screepers
Description: Portable Operating System Interface for Screeps
Created: 2017-06-19 20:58:23.0
Updated: 2018-04-01 00:55:42.0
Pushed: 2018-04-01 00:55:41.0
Homepage: null
Size: 86
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Portable Operating System Interface for Screeps
See POSIX.
install(registry: IPosisProcessRegistry)
on the bundle (see IPosisBundle)registry.register(...)
for each of them (see IPosisProcessRegistry). This puts processes in host's general process registry (details are specific to particular host).rootImageName
specified by the bundle.IPosisProcessContext
– a host provided handler carrying memory accessor and other goodies. See IPosisProcessContext.run()
method. See IPosisProcess.Host OS must provide at least IPosisKernel
implementation, and ideally all other defined extensions.
This project provides typescript interfaces that serve as is in typescript projects and as documentation for poor souls using plain JS.
To use types in typescript project, install typings
m install typings --saveDev
Add or modify typings.json
with
ame": "whatever",
lobalDependencies": {
"posis-api": "github:screepers/POSIS/dist/index.d.ts#master"
Make sure typings are included in tsconfig.json
nclude": [
"typings/**/*.d.ts"
For an example see test bundle.
Base kernel, exposes ways to start/stop/reparent or find a process. IPosisKernel