actionScriptEnd

actionScriptEnd ( closure action ) : void

Run an action at the end of the script (corresponds to the moment before the message "END OF THE SCRIPT ... You can close this window" appear). You can use MegaImporter.log and MegaImporter.error in this function. You must set no argument to your closure.

Example


actionScriptEnd({->
getPage("http://site.com/isScriptFinished=1")
})

Parameters

action

The closure to run at the end of the script