How to do multiply joins?

18 views
Skip to first unread message

Artem Kozlov

unread,
Jul 15, 2011, 12:30:33 PM7/15/11
to futures-j...@googlegroups.com
Hello All,

maybe some one help me with my problem:

Lets say i have such execution graph:

                                       f1             f2
                                        |              |
                                        ---------------
                                               |
                                              f3            f4
                                               |             |
                                               --------------
                                                      |
                                                      f5
                                                      |
                                                      f6
In pseudo code it will be somth like:   join( join(f1,f2).then(f3),  f4).then(f5).then(f6).
I want that result of f1 and f2 was available in f3, and result of f3 and f4 was  available  in f5, and then result of f5 in f6. Can I achieve this with futureJS?

Thanks.

AJ ONeal

unread,
Jul 15, 2011, 1:48:32 PM7/15/11
to futures-j...@googlegroups.com
I just made a small change to `join.add()`, so you'll need the latest `join` for the example

npm install futures join




This might not be what you ultimately want, but I believe it works the way you described.

AJ ONeal


--
Please use prefixes: [Pony] Feature requests, [TestCase] Test cases, [Bug] if you're lazy. If you have contract work or position for FuturesJS devs, prefix [Bounty] or [Job].
-----
To post to this group, send email to futures-j...@googlegroups.com
To unsubscribe from this group, send email to
futures-javascr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/futures-javascript?hl=en

master...@googlemail.com

unread,
Jul 15, 2011, 1:55:16 PM7/15/11
to futures-j...@googlegroups.com
Thank you for such fast response. I don't expect it so fast!.

2011/7/15 AJ ONeal <cool...@gmail.com>
Reply all
Reply to author
Forward
0 new messages