I createa server in Node.js and I want to run this function when it is called, and then do the task asynchronously in a seperate thread and browser and then return the result how can I do this ?
put action/function in 'deactivate' mode
-
when editing any function, sometimes we want to test by not activating certain actions/functions .. but not deleting them .. because if we delete these actions/functions, we have to put them back again after testing.
can we put them on 'de-activate' mode? .. just like when you test a batch file, you can de-activate a command line by making it into a 'comment' instead