User Tools

Site Tools


at:tutorial:appendix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
at:tutorial:appendix [2020/02/05 20:57] – adding elisagat:tutorial:appendix [2020/02/05 21:01] – * elisag
Line 391: Line 391:
  
 The files in the ''at/lang'' directory define custom language features which mostly use AmbientTalk/2's reflective facilities to extend the language. The files in the ''at/lang'' directory define custom language features which mostly use AmbientTalk/2's reflective facilities to extend the language.
 +
 +
  
  
Line 415: Line 417:
 fut // return the future to a client fut // return the future to a client
 </code> </code>
 +
 +The ''makeFuture'' function can also take a timeout. If a timeout is given it returns a returns a pair [lease, resolver]  where the lease timer gets immediately activated. If the future is not resolved within the given timeout, the lease expires and ruins the future with a ''TimeoutException''. Note that this means a lease will get parameter-passed rather than the future if given to other actors.
  
 === Auxilary functions in the futures module ==== === Auxilary functions in the futures module ====
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag