YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
on.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
yaclib/coro/detail/on_awaiter.hpp
>
4
#include <
yaclib/exe/executor.hpp
>
5
6
namespace
yaclib
{
7
8
/**
9
* TODO(mkornaukhov03) Add doxygen docs
10
*/
11
YACLIB_INLINE
detail::OnAwaiter
On
(
IExecutor
&
e
)
noexcept
{
12
return
detail::OnAwaiter
{
e
};
13
}
14
15
}
// namespace yaclib
yaclib::IExecutor
Definition
executor.hpp:8
yaclib::detail::OnAwaiter
Definition
on_awaiter.hpp:10
executor.hpp
yaclib
Definition
base_core.hpp:18
yaclib::On
YACLIB_INLINE detail::OnAwaiter On(IExecutor &e) noexcept
TODO(mkornaukhov03) Add doxygen docs.
Definition
on.hpp:11
yaclib::MakeContract
Contract< V, E > MakeContract()
Creates related future and promise.
Definition
contract.hpp:25
on_awaiter.hpp
include
yaclib
coro
on.hpp
Generated by
1.9.8