iFIX Tech Global Interview Question

Convert a Synchronous JS Function to a Asynchronous function