execute docs incorrect

Issue #38 resolved
Aaron Bartell created an issue

The developerWork docs declare that both the result and the error can't both be declared as parameters on the callback.

But the code appears to support both result and error as parms to the callback. Here and here.

I propose the developerWorks docs be updated to reflect what the code currently supports. I don't have access to edit otherwise I would update it.

Comments (6)

  1. Musse

    @aaronbartell I think I have access to update the docs.

    Just to make sure you are proposing to change

    Syntax 1:
    
    execute(function Callback())
    
    Syntax 2:
    
    execute(function Callback(Out))
    
    Syntax 3:
    
    execute(function Callback(Error))
    

    Into this:

    Syntax:
    
    execute(function Callback(Out, Error))
    
  2. Musse

    @aaronbartell Sounds good! BTW I'm working on porting over the docs from developer works to markdown format so that it can be maintained here, then distributed as needed.

    When I send out the PR could you review it?

  3. Log in to comment