1
0
Fork 0
liza/src/client
Mike Gerwitz 1aa51775f3 [DEV-6968] Client: Hook classifier after initQuote
This saves a lot of time for large classifiers by waiting to invoke it until
after some initial bucket setup has been done.  In particular, initQuote.

DelayedStagingBucket exists to try to limit the number of events that are
kicked off.  In this case, initQuote typically uses setCommittedValues,
which DelayedStagingBucket does not override.  However, overriding it did
not provide a whole lot of benefit, since initQuote also calls
getDataByName, which forces DelayedStagingBucket to flush so that hooks can
run validations and such.

The last step in Client#_changeQuote is to force the classifier to run, so
this should be safe, unless calculated values happen to use classification
results, in which case they'll be momentarily wrong and then immediately
updated after the classifier runs.
2020-02-03 15:11:25 -05:00
..
action RatingService: Convert to TypeScript 2019-10-29 13:36:41 -04:00
bucket Copyright range update 2019-08-30 09:41:35 -04:00
dapi Copyright range update 2019-08-30 09:41:35 -04:00
debug events: Use EventEmitter from old version of Node 2019-11-08 13:06:18 -05:00
event Add optional rate event delay 2019-09-19 10:54:21 -04:00
nav events: Use EventEmitter from old version of Node 2019-11-08 13:06:18 -05:00
proxy events: Use EventEmitter from old version of Node 2019-11-08 13:06:18 -05:00
quote events: Use EventEmitter from old version of Node 2019-11-08 13:06:18 -05:00
service Copyright range update 2019-08-30 09:41:35 -04:00
transport [DEV-6730] Post whether or not a save step will conclude the process 2020-01-15 10:26:07 -05:00
Client.js [DEV-6968] Client: Hook classifier after initQuote 2020-02-03 15:11:25 -05:00
ClientDataProxy.js Copyright range update 2019-08-30 09:41:35 -04:00
ClientDependencyFactory.js [DEV-6730] Post whether or not a save step will conclude the process 2020-01-15 10:26:07 -05:00
Cmatch.js Copyright range update 2019-08-30 09:41:35 -04:00