View Source LocationSimulator.DynamicSupervisor (LocationSimulator v0.6.3)

DynamicSupervisor, uses for add worker in runtime.

Module uses PartitionSupervisor to improve performance when start workers.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(any()) :: :ignore | {:error, any()} | {:ok, pid()}
Link to this function

start_simulator(workers)

View Source
@spec start_simulator(maybe_improper_list()) :: :ok