| 195 | } |
| 196 | |
| 197 | void consume(EventConsumer* consumer) && override |
| 198 | { |
| 199 | consumer->consume(std::move(*this)); |
| 200 | } |
| 201 | |
| 202 | // Function to get invoked as a result of this dispatch event. |
| 203 | std::unique_ptr<lambda::CallableOnce<void(ProcessBase*)>> f; |