☕ fund my caffeine addiction ☕
A small utility to defer execution of commands until after all configs have been executed. Created in response to nosoop/SM-YetAnotherMapConfigPlugin#1.
In a configuration file:
defer echo "Hello from defer!";
echo "Hello from config!";
"Hello from config!" will be printed out as the configuration file is being executed, and "Hello from defer!" will be printed after all configuration files have been buffered.
defer
commands are processed in a first-in-first-out queue.