erllama_model_sup (erllama v0.1.0)
View SourceDynamic supervisor for erllama_model gen_statems. Each loaded
model is one child started via start_model/2. simple_one_for_one
strategy: children are spawned on demand from a single child spec.
Summary
Functions
List currently-supervised model pids (raw supervisor view).
Start a model under this supervisor. ModelId is a binary; the model
registers itself in erllama_registry under that key. Returns the
started pid.
Terminate a previously started model.
Functions
List currently-supervised model pids (raw supervisor view).
Start a model under this supervisor. ModelId is a binary; the model
registers itself in erllama_registry under that key. Returns the
started pid.
Terminate a previously started model.