msgflo / msgflo-cpp

C++11 library for easily creating MsgFlo participants
MIT License
9 stars 2 forks source link

Participant: Add dedicated onMessage function #7

Closed jonnor closed 7 years ago

jonnor commented 7 years ago

Since the handler is very likely to want to refer to / capture the Participant, it was problematic that the interface did not return it before one had to define the handler.