mirror of
https://github.com/ProgramSnail/build_system_2022.git
synced 2025-12-06 00:48:42 +00:00
13 lines
No EOL
256 B
C++
13 lines
No EOL
256 B
C++
#include <chrono>
|
|
#include <cstddef>
|
|
#include <thread>
|
|
|
|
#include <iostream>
|
|
|
|
#include "task.hpp"
|
|
|
|
inline build_system::Task constructTestTask(size_t duration) {
|
|
return [duration]() {
|
|
std::this_thread::sleep_for(std::chrono::seconds(duration));
|
|
};
|
|
} |