Fix misspeling

user.format - not exist in the code bellow.
Probably you mean  `worker.slow`
This commit is contained in:
Khristinin Nikita 2018-01-21 09:06:20 +02:00 committed by GitHub
parent c693192018
commit 095af8b6f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ To summarize, there are several benefits of using a separate `cachingDecorator`
The caching decorator mentioned above is not suited to work with object methods. The caching decorator mentioned above is not suited to work with object methods.
For instance, in the code below `user.format()` stops working after the decoration: For instance, in the code below `worker.slow()` stops working after the decoration:
```js run ```js run
// we'll make worker.slow caching // we'll make worker.slow caching