Skip to content
Mark Taylor edited this page Jan 4, 2014 · 1 revision

registerForUpdates(successCallback, failureCallback)

  • successCallback The callback which will be called if the method is successful. The callback is passed the [Returned JSON] (Returned-JSON).
  • failureCallback The callback which will be called if the method encounters an error. The callback is passed the [Returned JSON] (Returned-JSON).

Method allows the HTML/ Javascript front-end to register a handler to be run automatically after the completion of the [doWork] (doWork).

See [Updating the front-end] (Updating-the-front-end) for more details.


Also see

  • [deregisterForUpdates] (deregisterForUpdates)
  • [Returned JSON] (Returned-JSON)
  • [Updating the front-end] (Updating-the-front-end)
  • [doWork] (doWork)

Clone this wiki locally