How can we pause a task until a specified time and how to resume the same task before the timeout with some external triggers

Perhaps this is what you are looking for? also, this blog post explains the same feature

Could you explain the problem you are trying to solve here? What’s your use case?