Returns an object, which can be used to count calls to methods.
Parameter | Type | Description |
---|---|---|
keyMaker | Function |
Optional the function, which takes method's arguments and returns a key, which can be used to index the result. |
See the dojox/lang/aspect/memoizer reference documentation for more information.