Skip to main content

create_posting_queue

Function create_posting_queue 

Source
pub fn create_posting_queue() -> (Sender<PostAction>, Receiver<PostAction>)
Expand description

Create a bounded posting queue channel.

Returns (sender, receiver). Clone the sender for each automation loop. Pass the receiver to [run_posting_queue].