RFE: reading messages up to delimiter in a stream
mgrouch opened this issue · 1 comments
mgrouch commented
A lot of streams are messages separated by sequence of delimiter characters.
it would be nice to have a reaction which can deliver to callback whole message instead of data chunk.
Something like
MessageReaction app.onMessage(Stream *stream, Delimiter delim, react_callback cb);
thanks
mairas commented
This is an issue that can be easily implemented downstream e.g. with SensESP transforms.