mirror of
https://gitlab.com/niansa/libcrosscoro.git
synced 2025-03-06 20:53:32 +01:00
13 lines
253 B
C++
13 lines
253 B
C++
#pragma once
|
|
|
|
namespace coro
|
|
{
|
|
enum class shutdown_t
|
|
{
|
|
/// Synchronously wait for all tasks to complete when calling shutdown.
|
|
sync,
|
|
/// Asynchronously let tasks finish on the background thread on shutdown.
|
|
async
|
|
};
|
|
|
|
} // namespace coro
|