The functionality of staging and deploying the code is implemented by the Upgradable part of NEAR plugins. As the code is being staged and deployed in separate functions, it allows for implementing delayed upgrades. So to achieve this, an additional storage variable could be introduced that will contain a value for the delayed upgrade. However, it's worth noting that in this case, changing the value of this variable should also be allowed only via contract upgrade or delayed-value-upgrade (so to change the delay-upgrade period, you need to wait for the same expected delay).
The functionality of staging and deploying the code is implemented by the
Upgradable
part of NEAR plugins. As the code is being staged and deployed in separate functions, it allows for implementing delayed upgrades. So to achieve this, an additional storage variable could be introduced that will contain a value for the delayed upgrade. However, it's worth noting that in this case, changing the value of this variable should also be allowed only via contract upgrade or delayed-value-upgrade (so to change the delay-upgrade period, you need to wait for the same expected delay).