function handleStatusEvent(event) {
    if (!event.status) {
        delete retained["status/"+event.id]
    } else if (!event.status.text && !event.status.fill && !event.status.shape) {
        if (retained["status/"+event.id]) {
            publish("status/"+event.id,{},false);
        }
    } else {
        var status = {
            text: event.status.text,
            fill: event.status.fill,
            shape: event.status.shape
        };
        publish("status/"+event.id,status,true);
    }
}
A WebSocket connection between the runtime and the editor.
@typedef CommsConnection
@type {object}
@property {string} session - a unique session identifier
@property {Object} user - the user associated with the connection
@property {Function} send - publish a message to the connection