Skip to content

callbacks vs. events #5

Open
Open

Description

@fat

was dicussing "then" behavior with kenneth and was wondering if loadrunner behaved more like an event or a callback as per this post: http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/

for example:

var foo = using('foo')

foo.then(handler1)
foo.then(handler2)  //<-- exception here
foo.then(handler3) //<-- will this fire
foo.then(handler4) //<-- will this fire

Activity

  1. danwrong commented on May 19, 2011

    @danwrong
    Owner

    I'd expect that they should fire regardless. I'll make that the case soon.

    On Wed, May 18, 2011 at 6:05 PM, fat
    reply@reply.github.com
    wrote:

    was dicussing "then" behavior with kenneth and was wondering if loadrunner behaved more like an event or a callback as per this post: http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/

    for example:

       var foo = using('foo')

       foo.then(handler1)
       foo.then(handler2)  //<-- exception here
       foo.then(handler3) //<-- will this fire
       foo.then(handler4) //<-- will this fire

    Reply to this email directly or view it on GitHub:
    #5

    Dan Webb
    http://massiverobot.co.uk
    http://www.danwebb.net

    aim: danwrong123
    twitter/skype: danwrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions