Background Tasks or Task Execution and Scheduling

Hi,

Which will be a good option to use if we want to use an Async activities like calling external API and storing request and response in database and also to make sure the thread which will run will not drop or start a new activities before completing existing task running on same thread.