in src/dependency-container.ts [261:279]
private executePostResolutionInterceptor<T>(
token: InjectionToken<T>,
result: T | T[],
resolutionType: ResolutionType
): void {
if (this.interceptors.postResolution.has(token)) {
const remainingInterceptors = [];
for (const interceptor of this.interceptors.postResolution.getAll(
token
)) {
if (interceptor.options.frequency != "Once") {
remainingInterceptors.push(interceptor);
}
interceptor.callback(token, result, resolutionType);
}
this.interceptors.postResolution.setAll(token, remainingInterceptors);
}
}