Class MinimumAdapterInterface

Defined in: ../store/addon/-private/ts-interfaces/minimum-adapter-interface.ts:149
Module: @ember-data/adapter

coalesceFindRequests [OPTIONAL] public

Module: @ember-data/adapter

If your adapter implements findMany, setting this to true will cause findRecord requests triggered within the same runloop to be coalesced into one or more calls to adapter.findMany. The number of calls made and the records contained in each call can be tuned by your adapter's groupRecordsForHasMany method.

Implementing coalescing using this flag and the associated methods does not always offer the right level of correctness, timing control or granularity. If your application would be better suited coalescing across multiple types, coalescing for longer than a single runloop, or with a more custom request structure, coalescing within your application adapter may prove more effective.

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember-data/3.25/classes/MinimumAdapterInterface/properties