handle_command

Function handle_command 

Source
pub async fn handle_command<N: NetworkNode>(
    cmd: CoordinatorCommand,
    node: &mut N,
    storage: &SqliteStorage,
    doc: &Doc,
    map: &MapRef,
    state: &mut CoordinatorState,
    event_tx: &Sender<CoordinatorEvent>,
) -> ChatResult<()>