How to run job after some time in erpnext

Hi all, I want solution, after creating sales order and once submitted i’ll be calling third party api.
I need solution for, if in case response will be late say 1min from request, then i shouldn’t wait for response instead the doc should be submitted. how to acieve this in erpnext?

It will be more helpful if someone provides solution. Thank You

check scheduler_events topic from here:
https://frappe.io/docs/user/en/guides/basics/hooks

You can use hourly or cron event for your issue by chek if the time now is equal the same time when make the sales order+1 hour for example

OR

you can use python timer library

Hi @OmarJaber thanks for the reply, what if i want to make job to run asynchronously without using scheduler events?