View Source Rclex.JobExecutor (Rclex v0.7.1)

Receives job queue and executes queue element in order.

  • The execution order can be changed by using the change order function.
    • change order function receives list(), return list()

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(), change_order :: (list() -> list())}
) :: GenServer.on_start()