FutureNode yields futureDo or futureSend message sends, depending on whether the result of the send is being used or not. The difference between the two is that only futureSend returns a Promise.
The logic for determining whether the result is being used seems incomplete. E.g. the following example does not work:
result := [(2 future: 100) + 3] on: Error do: [].
result then: [:sum | Transcript showln: sum]
FutureNode yields futureDo or futureSend message sends, depending on whether the result of the send is being used or not. The difference between the two is that only futureSend returns a Promise.
The logic for determining whether the result is being used seems incomplete. E.g. the following example does not work:
Also: There are no tests currently. :P