setActionCallback

Sets the callback for handling action execution requests.

Parameters

callback

function that receives (actionId, params, requestId) and returns an ActionResult