tuitbot-core 0.1.47

Core library for Tuitbot autonomous X growth assistant
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Serialized posting queue for concurrent automation loops.
//!
//! All loops funnel post actions through a single bounded MPSC channel,
//! preventing race conditions and ensuring rate limits are respected
//! globally. A single consumer task processes actions sequentially with
//! configurable delays between posts.

pub use dispatch::{run_posting_queue, run_posting_queue_with_approval};
pub use queue::{create_posting_queue, ApprovalQueue, PostAction, PostExecutor, QUEUE_CAPACITY};

mod dispatch;
mod queue;

#[cfg(test)]
mod tests_basic;
#[cfg(test)]
mod tests_dispatch;