@inanna/app
v3.4.4
Published
Inanna Application
Downloads
15
Readme
API Reference
- Application
- new Application(config)
- config.name
- config.url
- config.options
- config.serviceCollectionName
- config.loggerCollectionName
- app.db
- app.executing
- app.scheduler
- app.services
- app.running
- app.status
- app.stat()
- app.start()
- app.stop()
- app.restart()
- app.toggle()
- app.sync()
- new Application(config)
- Service
- new Service(app, options)
- options.deps
- options.id
- options.enabled
- options.env
- options.config
- service.app
- service.db
- service.deps
- service.refs
- service.config
- service.env
- service.lock
- service.id
- service.status
- service.loaded
- service.synced
- service.enabled
- service.running
- service.stopped
- service.failed
- service.error
- service.time
- service.stat()
- service.start()
- service.stop()
- service.restart()
- service.toggle()
- service.sync()
- service.launch()
- service.shutdown()
- new Service(app, options)
- Lock
- lock.size
- lock.locked
- lock.has(key)
- lock.acquire(key)
- lock.release(key)
- lock.sync()