Conduit v0.12.10 Conduit.Topology.Queue View Source
Configuration for an queue
Link to this section Summary
Functions
Creates a new Queue struct
Link to this section Types
Link to this section Functions
Creates a new Queue struct
If functions are passed to either argument, they will be evaluated before returning the struct.
Examples
iex> Conduit.Topology.Queue.new(“my_app.event”) %Conduit.Topology.Queue{name: “my_app.event”, opts: []} iex> Conduit.Topology.Queue.new(“my_app.event”, from: [“my_app.event_queue”]) %Conduit.Topology.Queue{name: “my_app.event”, opts: [from: [“my_app.event_queue”]]} iex> Conduit.Topology.Queue.new(fn -> “dynamic.name” end, fn -> [from: [“my_app.event_queue”]] end) %Conduit.Topology.Queue{name: “dynamic.name”, opts: [from: [“my_app.event_queue”]]}