How To Stop An Asynchronous Function In Javascript

How To Stop An Asynchronous Function In Javascript