0.0.1 • Published 7 years ago
@thecodeaware/ts-async-memoizer v0.0.1
Typescript Async Memoizer
Memoizer for async functions (Rxjs Observable)
Installation
npm install --save @thecodeaware/ts-async-memoizerUsage
import { MemoizeObservable } from '@thecodeaware/ts-async-memoizer';
@MemoizeObservable()
function someFunction(arg1: string, arg2: SomeObject): Observable<OtherObject> {
// ...
}Contribution
Feel free to add improvements. Remember about the tests!
npm installnpm run testTODO
- improve doc
- add memoizer for Promise
License
This project is licensed under the terms of the MIT license - check LICENSE file.
0.0.1
7 years ago