It did while I was developing it, but I removed the feature because I couldn't find a real-world use-case that needed it. It's pretty trivial to add back in if you need it. I can publish a new version if you otherwise like the language.
The API adjustment would be to return a stream if you don't pass in a callback. The stream would emit "error" on error, "data" when a chunk is ready to be flushed and "end" when done. On Wed, May 30, 2012 at 10:01 AM, Oliver Leics <[email protected]>wrote: > @Tim: Does Kernel stream the output while rendering? > > On Wed, May 30, 2012 at 4:50 PM, Tim Caswell <[email protected]> wrote: > > Corn is unmaintained, but the replacement it > https://github.com/c9/kernel > > > > Kernel is extremely simple, but powerful through helper functions that > > accept blocks. Even though the language doesn't have conditionals or > loops, > > they are easy to implement as helpers. > > > > In nodebits.org, I use kernel. I have helpers that do things like > "Make a > > database query and loop over the results using the block as a template" > > It's great! > > > > > > On Wed, May 30, 2012 at 7:19 AM, Arnout Kazemier <[email protected]> > wrote: > >> > >> https://github.com/creationix/corn ? > >> > >> On Wednesday, May 30, 2012 at 2:15 PM, Oliver Leics wrote: > >> > >> Hallo, > >> > >> is dustjs[1] really the only template engine that implements rt > >> streamed render output and supports asynchronous calls within > >> template-functions? > >> > >> [1] https://github.com/akdubya/dustjs > >> > >> -- > >> Job Board: http://jobs.nodejs.org/ > >> Posting guidelines: > >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > >> You received this message because you are subscribed to the Google > >> Groups "nodejs" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected] > >> For more options, visit this group at > >> http://groups.google.com/group/nodejs?hl=en?hl=en > >> > >> > >> -- > >> Job Board: http://jobs.nodejs.org/ > >> Posting guidelines: > >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > >> You received this message because you are subscribed to the Google > >> Groups "nodejs" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected] > >> For more options, visit this group at > >> http://groups.google.com/group/nodejs?hl=en?hl=en > > > > > > -- > > Job Board: http://jobs.nodejs.org/ > > Posting guidelines: > > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google > > Groups "nodejs" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > > > > -- > Oliver Leics @ G+ > https://plus.google.com/112912441146721682527 > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
