conao3 / leaf.el

Flexible, declarative, and modern init.el package configuration
GNU General Public License v3.0
505 stars 28 forks source link

[Question] Equivalend of use-package defer <number> #530

Open kiennq opened 2 years ago

kiennq commented 2 years ago

In use-package I can specify a number to :defer <num> (ex :defer 10) and it will require the package after <num> secs. Is there a similar thing in leaf?

gynamics commented 1 year ago

I am also finding such a function but found nothing in leaf.el. I have not explored how it is implemented in use-package, but I think it should be easy to be implemented with a queue on an idle timer.