import '../repositories/chat_repository.dart';

class CancelTask {
  final ChatRepository _repository;

  CancelTask(this._repository);

  Future<void> execute(String taskId) {
    return _repository.cancelTask(taskId);
  }
}
