View Source Rclex.JobQueue (Rclex v0.8.4)

Queue jobs, jobs in the queue are executed when jobs count reached the queue length or over.

  • queue length is changeable
    • if not specified the length to be 1

Used by Rclex.Timer and Rclex.Subscriber.

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({target_identifier :: charlist()}) :: GenServer.on_start()
@spec start_link({target_identifier :: charlist(), queue_length :: integer()}) ::
  GenServer.on_start()