Entry point for almost all ts-fp-di API
Should be called on each HTTP request, MQ message handling, cron job or just in test
diInit(() => { // ts-fp-di API usage here // or call `next` function of middleware here}) Copy
diInit(() => { // ts-fp-di API usage here // or call `next` function of middleware here})
Entry point for almost all ts-fp-di API
Should be called on each HTTP request, MQ message handling, cron job or just in test
Example