Skip to content Skip to sidebar Skip to footer

Express-hbs Instance Registerasynchelper Weird Hash

I'm using express-hbs nodejs module and I have an issue using registerAsyncHelper. I need compile a layout in restrict scope because of this I've created a new Handlebars instance

Solution 1:

The express-hbs module inserts those hashes in place of asynchronously returned values, and replaces them when the async calls have completed. You must use it in the context of Express, as a rendering engine to see this working.


Post a Comment for "Express-hbs Instance Registerasynchelper Weird Hash"