| 39 | |
| 40 | struct ChannelInputProcessor : public GraphProcessor { |
| 41 | virtual int process() noexcept override { |
| 42 | enter_promise.set_value(::std::move(a)); |
| 43 | leave_future.get(); |
| 44 | return 0; |
| 45 | } |
| 46 | |
| 47 | static ::std::promise<ChannelConsumer<::std::string>> enter_promise; |
| 48 | static ::std::future<ChannelConsumer<::std::string>> enter_future; |