The implementation of a task manager api layer. It provides methods to list the modules registered in task_manager, list tasks belonging to the given module, abort, wait for or retrieve a status of the given task.
18 lines
207 B
C++
18 lines
207 B
C++
/*
|
|
* Copyright (C) 2022-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_task_manager(http_context& ctx, routes& r);
|
|
|
|
}
|