We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bdd02e commit ee64246Copy full SHA for ee64246
include/conduit/async/on_suspend.hpp
@@ -7,8 +7,7 @@
7
namespace conduit::async {
8
template <class F>
9
struct on_suspend_type : mixin::Resumable<on_suspend_type<F>> {
10
- [[no_unique_address]] F func;
11
- void on_suspend(std::coroutine_handle<> caller) { func(caller); }
+ [[no_unique_address]] F on_suspend;
12
};
13
14
0 commit comments