Wraps a function to ensure it is only executed once.
The function to be executed only once.
A new function that calls the original function only the first time it is invoked.
Wraps a function to ensure it is only executed once.