Function

method

Configure a callback for when the identifier cache is going to release an identifier.

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

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

Takes method which can expect to receive an existing Identifier that should be eliminated from any secondary lookup tables or caches that the user has populated for it.