at:tutorial:appendix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:appendix [2009/01/29 21:54] – adding elisag | at:tutorial:appendix [2009/01/30 16:21] – *minor tvcutsem | ||
---|---|---|---|
Line 472: | Line 472: | ||
< | < | ||
- | The implementation of leased object references actually consists of two files: ''/ | + | The implementation of leased object references actually consists of two files: ''/ |
</ | </ | ||
- | The leasedrefs module exports language constructs to create three different types of leased object references: | + | The '' |
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
- | Variations of these constructs are also provided to allow developers to specify the renewal time interval in renew-on-call leased references and the name(s) of the method(s) which expires | + | Variations of these constructs are also provided to allow developers to specify the renewal time interval in renew-on-call leased references and the name(s) of the method(s) which trigger expiration of a single-call leased reference. |
- | The leasedrefs module also provides the following constructs to explicit | + | The '' |
< | < | ||
- | renew: leasedRef for: interval; | + | renew: leasedRef for: interval; |
- | revoke: leasedRef; | + | revoke: leasedRef; |
- | timeLeft: leasedRef; | + | leaseTimeLeft: leasedRef; |
+ | when: lease expired: {...}; // trigger a closure when the lease expires | ||
</ | </ | ||
- | '' | + | The '' |
- | Finally, the leasedrefs module exports support primitives to manipulate time intervals (i.e. '' | + | Finally, the '' |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag