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.

371 B
Raw Blame
use crate::domain::ports::TaskSpawner;

/// Spawns detached updater tasks on Tauri's application-wide Tokio runtime.
#[derive(Debug, Clone, Copy, Default)]
pub struct TauriTaskSpawner;

impl TaskSpawner for TauriTaskSpawner {
    fn spawn(task: impl Future<Output = ()> + Send + 'static) {
        drop(tauri::async_runtime::spawn(task));
    }
}

#[cfg(test)]
mod test;