@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
11 lines • 369 B
JavaScript
import ErrorMessages from "../../error-messages";
import Guard from "../../guard";
export class LazyLoadingManager {
static ensureLazyLoadingIsPossible(entity) {
Guard.notNullOrUndefined(entity);
if (!entity.canDoLazyLoading) {
throw ErrorMessages.Entity.CannotLazyLoad;
}
}
}
//# sourceMappingURL=lazy-loading-manager.js.map