A collection of useful decorators concerning functionality that is specific to Ember.
- Ember.js v4.8 or above
- Ember CLI v4.8 or above
- Node.js v18 or above
ember install ember-useful-decorators
Each decorator is described below:
Invoke the decorated function with once
Invoke the decorated function with scheduleOnce, against the given queue queue
.
Invoke the decorated function with next
Invoke the decorated function with run
Cache output values to avoid excessive dirtying of complex return values (e.g. objects). equalityFunc
defaults to a shallow object comparison function if not provided.
See the Contributing guide for details.
This project is licensed under the MIT License.