| 61 | |
| 62 | struct MutableChannelInputProcessor : public GraphProcessor { |
| 63 | virtual int process() noexcept override { |
| 64 | enter_promise.set_value(::std::move(a)); |
| 65 | leave_future.get(); |
| 66 | return 0; |
| 67 | } |
| 68 | |
| 69 | static ::std::promise<MutableChannelConsumer<::std::string>> enter_promise; |
| 70 | static ::std::future<MutableChannelConsumer<::std::string>> enter_future; |