at:tutorial:actors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
at:tutorial:actors [2020/02/05 21:24] – elisag | at:tutorial:actors [2020/02/05 21:26] (current) – elisag | ||
---|---|---|---|
Line 178: | Line 178: | ||
As you may have noticed previously, asynchronous message sends do not return any value (that is, they return '' | As you may have noticed previously, asynchronous message sends do not return any value (that is, they return '' | ||
+ | |||
Line 192: | Line 193: | ||
def sum := calculator< | def sum := calculator< | ||
</ | </ | ||
- | |||
Line 208: | Line 208: | ||
The first statement imports the futures module into the current lexical scope. This enables you as a developer to use some additional language constructs exported by the futures module, as will be explained later. The second statement enables the futures behaviour, causing any asynchronous message send to return a future rather than '' | The first statement imports the futures module into the current lexical scope. This enables you as a developer to use some additional language constructs exported by the futures module, as will be explained later. The second statement enables the futures behaviour, causing any asynchronous message send to return a future rather than '' | ||
- | < | + | < |
In what follows we provide an overview on how to work with futures. More information pertaining to the API of the futures language module can be found in the [[: | In what follows we provide an overview on how to work with futures. More information pertaining to the API of the futures language module can be found in the [[: | ||
</ | </ |
at/tutorial/actors.1580934280.txt.gz · Last modified: 2020/02/05 21:26 (external edit)