I'm using PhotonSync to send a list of items and I would like to clear the list when the PhotonSync screen is closed. Is there a event handler that I can tie into?
Unfortunately there is not currently an event handler for this
New information:
The JourneyApps runtime has automatically wrapped the photonsync calls in promises, so this should actually be possible without an event handler.
PhotonSync.transmit(view.myPhoto.toArrayBuffer());
dialog("Transmit completed.");
In the above, the dialog - or in your case clearing the list - will execute after the .transmit()
window has been closed.