Exqute v0.1.3 Exqute.Schedule.Job View Source

Serializable Job format used by Exq

Link to this section Summary

Functions

Decodes the Job from JSON

Encodes the Job as JSON

Link to this section Types

Link to this type

t()

View Source
t() :: %Exqute.Schedule.Job{
  args: list(),
  class: String.t(),
  enqueued_at: DateTime.t(),
  error_class: String.t(),
  error_message: String.t(),
  failed_at: DateTime.t(),
  finished_at: DateTime.t(),
  jid: String.t(),
  processor: String.t(),
  queue: String.t(),
  retry: boolean(),
  retry_count: integer()
}

Link to this section Functions

Link to this function

decode(serialized)

View Source
decode(String.t()) :: t()

Decodes the Job from JSON

Encodes the Job as JSON