UNPKG

@vendure/core

Version:

A modern, headless ecommerce framework

24 lines 956 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BootstrappedEvent = void 0; const vendure_event_1 = require("../vendure-event"); /** * @description * This event is fired when vendure finished bootstrapping. * For the server and worker process, this happens after the welcome message is logged. * * Use this event to preload data into the cache or perform other startup logic that would otherwise * block * the bootstrapping process and slow down server start time. To avoid missing this event, subscribers should * be registered during module initialization \(for example in `OnApplicationBootstrap`\), not after `bootstrap\(\)` resolves. * * @docsCategory events * @docsPage Event Types * @since 3.5.6 */ class BootstrappedEvent extends vendure_event_1.VendureEvent { constructor() { super(); } } exports.BootstrappedEvent = BootstrappedEvent; //# sourceMappingURL=bootstrapped-event.js.map