setup-maven-cached/node_modules/underscore/modules/once.js

7 lines
236 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
import partial from './partial.js';
import before from './before.js';
// Returns a function that will be executed at most one time, no matter how
// often you call it. Useful for lazy initialization.
export default partial(before, 2);