0.5.3 • Published 7 months ago
gell-runtime v0.5.3
gell-runtime
run event based sequences in any environment
Concepts
signal (or shutdown signal)
- ...
ingress
- sequence that receives messages (usually externally) and dispatches them as events
dispatcher
Events
- start
- stop
- shutdown?
- kill
Use Cases
- HTTP server
- HTTP endpoints * Websocket endpoints
- Docker daemon
Roadmap
- shutdown sequences
- ecosystem discovery/bootstrapping
- lifecycle sequences
- Mocha as a runtime
- logger per test * bootstrap dependencies with discovery
Shutdown Sequences
- execute code as part of runtime shutdown
Ecosystem Discovery/Bootstrapping
- ...
Lifecycle Sequences
- related to Shutdown Sequences
- "shutdown" is just another lifecycle event
- execute arbitrary code
- potential sequences
- bootstrap * validate
- lifecycle events could be passed to futures as well
- hazy on this idea for now
Brainstorm
- this was originally intended for Docker based runtimes but could be extended
- lambda functions