actionClose

actionClose ( closure action ) : void

Run an action when the console is closed (the white windows where you see the log of the crawling). You can use MegaImporter.log and MegaImporter.error in this function. You must set no argument to your closure.

Example


actionClose({->
write(path("desktop")+"time_end.txt",timestamp())
})

Parameters

action

The action to run when the console closed