Function

method

Configure a callback for when the identifier cache is being torn down.

This configuration MUST occur prior to the store instance being created.

1
import { setIdentifierResetMethod } from '@ember-data/store';

Takes a method which can expect to be called when the parent application is destroyed.

If you have properly used a WeakMap to encapsulate the state of your customization to the application instance, you may not need to implement the resetMethod.