I just noticed that the dmx-socket element only has a dynamic event for detecting a message update. There's no static event equivalent. Not sure if this is a bug, or by design.
I'm wanting API updates directly to my page, but a javascript function to handle the message output. I tried using a page flow to call my javascript function but the message updates happen so fast, the page flows are cancelled because the previous page flows haven't completed yet.