Could you please help me with the below queries related to Apex Job Execution:
If multiple Async request(future methods) are fired in the same thread, it makes the Async job request status as Queued for long time, even though the future method has no code inside it. What makes a call to be in Queued state? And what is the limit on the current thread to allow creation of new async calls?
The future method is not triggered(not placed in Apex Job) until the current thread completes the execution. How can we make the future method to be placed inside the Apex Job while the current thread is still running ?
Any idea? Thanks.