There seems to be an issue with StreamLayer (ArcGIS SDK 4.29.10), specifically when you send client-side features a single time. I want to say it's a timing issue, because wrapping the sendMessageToClient in a setTimeout with a 1000ms wait fixes the issue.
Reproduced the issue here: https://codepen.io/addypizza/pen/bGJPpEg
Notice that if you wrap the above sendMessageToClient call in a 1000ms setTimeout, it works.