Middleware to add subscribers to the blueprint.
This middleware identifies modules marked as subscribers and adds them to the blueprint's list of subscribers.
The configuration context containing modules and blueprint.
The next function in the pipeline.
The updated blueprint.
SubscriberMiddleware({ modules, blueprint }, next); Copy
SubscriberMiddleware({ modules, blueprint }, next);
Middleware to add subscribers to the blueprint.
This middleware identifies modules marked as subscribers and adds them to the blueprint's list of subscribers.