Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

369 B
Raw Blame
use std::sync::Arc;

use macro_event_broker::{GlobalSpawner, KafkaEventPublisher, MacroEventBrokerService};

pub type PollerEventBroker = MacroEventBrokerService<KafkaEventPublisher, GlobalSpawner>;

#[derive(Clone)]
pub struct Context {
    pub db: sqlx::Pool<sqlx::Postgres>,
    pub macro_event_broker: PollerEventBroker,
    pub sqs_client: Arc<sqs_client::SQS>,
}