Etso v1.0.1 Etso.Adapter.TableSupervisor View Source
Provides convenience function to spin up a Dynamic Supervisor, which is used to hold the Table Servers.
Link to this section Summary
Functions
Returns Child Specification for the Table Supervisor that will be associated with the repo
.
Starts the Child under the Table Supervisor associated with the repo
.
Link to this section Functions
Link to this function
child_spec(repo)
View Sourcechild_spec(Etso.repo()) :: Supervisor.child_spec()
Returns Child Specification for the Table Supervisor that will be associated with the repo
.
Link to this function
start_child(repo, child_spec)
View Sourcestart_child(Etso.repo(), {module(), term()}) :: DynamicSupervisor.on_start_child()
Starts the Child under the Table Supervisor associated with the repo
.