use crate::services::sort::SortController; use flowy_task::{TaskContent, TaskHandler}; use lib_infra::future::BoxResultFuture; use std::sync::Arc; use tokio::sync::RwLock; pub struct SortTaskHandler { handler_id: String, sort_controller: Arc>, } impl SortTaskHandler { pub fn new(handler_id: String, sort_controller: Arc>) -> Self { Self { handler_id, sort_controller, } } } impl TaskHandler for SortTaskHandler { fn handler_id(&self) -> &str { &self.handler_id } fn run(&self, content: TaskContent) -> BoxResultFuture<(), anyhow::Error> { todo!(); } }