Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:52

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // Copyright (c) Lewis Baker
0003 // Licenced under MIT license. See LICENSE.txt for details.
0004 ///////////////////////////////////////////////////////////////////////////////
0005 #ifndef CPPCORO_INLINE_SCHEDULER_HPP_INCLUDED
0006 #define CPPCORO_INLINE_SCHEDULER_HPP_INCLUDED
0007 
0008 #include <cppcoro/coroutine.hpp>
0009 
0010 namespace cppcoro
0011 {
0012     class inline_scheduler
0013     {
0014     public:
0015 
0016         inline_scheduler() noexcept = default;
0017 
0018         cppcoro::suspend_never schedule() const noexcept
0019         {
0020             return {};
0021         }
0022     };
0023 }
0024 
0025 #endif