Commit Graph

9 Commits

Author SHA1 Message Date
Mariusz Nowak
9b1d235a34 refactor: update up to new lint rules 2017-08-28 13:51:01 +02:00
Mariusz Nowak
1a102b3143 Improve tests against race conditions 2016-07-07 14:20:29 +02:00
Mariusz Nowak
9e3cc51cfc Add comments to tests 2016-07-07 14:10:36 +02:00
Mariusz Nowak
39c0df55f9 Remove obsolete arg 2016-07-07 11:52:40 +02:00
Mariusz Nowak
ab45d8b2fb Add promise mode tests to 'max' tests 2016-07-07 11:51:40 +02:00
Mariusz Nowak
9e574d8df5 -- lint 2014-08-21 15:45:29 +02:00
Mariusz Nowak
eb72d16bf6 Major reorganization and partial refactoring
- Move out main modules from `lib` folder
- Introduce `normalizer` based configurations, and convert primitive and regular handlers into thos normalizers (can be found in lib/normalizers folder). Custom normalizers can be provided at run time via `normaizer` option
- Provide `plain` module which does not load any extensions or normalizers. Any extensions that have to be used should be required upfront and normalizers should be provided directly
- Remove `method` option, instead `methods` and `methods-plan` modules are provided which generate descriptors for lazy created memoized methods
- `profile` is no longer extension. To be used it should be required directly
- Improve logic for `async` handling
- Take out `max` extensionLRU logic into external `lru-queue` package
- Remove `context` option
- Remove possibility to access original arguments when resolvers are used
- Assure expected length of memoized functions
2014-04-27 12:11:06 +02:00
Mariusz Nowak
a62f1680af -- lint 2012-09-21 15:14:19 +02:00
Mariusz Nowak
146e59e543 Modularization. Cleanup and logic improvements.
Additionally changed max option algorithm from FIFO to LRU
2012-09-21 12:04:55 +02:00