liveUpdate
liveUpdate(target: Object;
templateName: StringUtf8): Binary typeMethod;
The liveUpdate method of the Orb class starts live updates on the target specified by the target parameter (which can be any object or collection).
Objects added to the collection are expanded by the templating engine, using the template specified by the templateName parameter.
If the target is a:
-
Non‑collection object, the connecting web browser is notified based on changes to the target.
-
Collection, the connecting web browser is notified whenever items are added to or removed from the collection, or whenever objects in the collection are modified.
This method returns a Binary value that must be returned by using the render method of an Orb route. For details, see "Routing Engine", elsewhere in this document.
