Proca.Stage.Support (proca v3.0.2)

Support functions for job processing in Broadway. Most imporatntly functions to build RabbitMQ events containing enough data to be processed internally (system) or externally (custom).

Link to this section Summary

Link to this section Functions

Link to this function

action_data(action, stage \\ :deliver, org_id \\ nil)

Link to this function

bulk_actions_data(action_ids, stage \\ :deliver, org_id \\ nil)

Link to this function

camel_case_keys(map)

Turn the case of keys in the map to camel case

Link to this function

confirm_link(confirm, op)

Link to this function

ensure_string(a)

Link to this function

flatten_keys(map, nil_to \\ nil)

Flattens the nested map keys so that there is only one nesting level of keys and values. The resulting keys are joined by underscore to form a snake-case key name.

Link to this function

ignore(message, reason \\ "ignored")

Link to this function

supporter_link(action, op)

Link to this function

supporter_link(action_id, contact_ref, op)

Link to this function

to_iso8601(naivedatetime)