| 357 | TEST_F(ProcessorTest, downstream_function_run_before_current_one_return) { |
| 358 | struct F1 : public GraphProcessor { |
| 359 | virtual int process() noexcept override { |
| 360 | *x.emit() = *a; |
| 361 | f.get(); |
| 362 | return 0; |
| 363 | } |
| 364 | ANYFLOW_INTERFACE(ANYFLOW_DEPEND_DATA(int32_t, a) |
| 365 | ANYFLOW_EMIT_DATA(int32_t, x)) |
| 366 | ::std::promise<void> p; |