diff options
Diffstat (limited to 'ttwhy/routers/concepts.cppm')
| -rw-r--r-- | ttwhy/routers/concepts.cppm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ttwhy/routers/concepts.cppm b/ttwhy/routers/concepts.cppm deleted file mode 100644 index cfbcb5a..0000000 --- a/ttwhy/routers/concepts.cppm +++ /dev/null @@ -1,17 +0,0 @@ -module; - -#include <asio.hpp> - -#include <concepts> - -export module ttwhy.routers:concepts; - -namespace ttwhy -{ - - export template<typename Candidate, typename Event> - concept router = requires(Candidate candidate, Event event) { - { candidate.process(event) } -> std::same_as<asio::awaitable<void>>; - }; - -} // namespace ttwhy |
