Jason, Here's what I've gathered from the source.
TransformerGenComponent returns a class, so calling "Foo" would instantiate an instance. blockingProducer returns a function (replacement), that basically acts as a factory for BlockingProducer. So calling "Foo" would return a new BlockingProducer instance. Anyone feel free to jump in if I missed something. Hope this helps, Nathan Davis On Mon, Oct 5, 2009 at 7:46 AM, Jason Baker <[email protected]> wrote: > > Grammar nazi alert: > > "To stop this generator, you need to call it's .stop() method. The > wrapper could do this" > > You should be using "its", not "it's". :-) > > Moving on to subjects with a little bit more substance, suppose I have > a generator function Foo that I wrap using one of these decorators. > What exactly will happen if I call Foo? This isn't entirely clear to > me by tracing the sourcecode. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" 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/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---
