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 [2020/02/05 20:57] – adding elisag | at:tutorial:appendix [2020/02/05 21:13] – adding elisag | ||
---|---|---|---|
Line 391: | Line 391: | ||
The files in the '' | The files in the '' | ||
+ | |||
+ | |||
Line 415: | Line 417: | ||
fut // return the future to a client | fut // return the future to a client | ||
</ | </ | ||
+ | |||
+ | The '' | ||
=== Auxilary functions in the futures module ==== | === Auxilary functions in the futures module ==== | ||
Line 629: | Line 633: | ||
The files in the '' | The files in the '' | ||
+ | |||
==== Timing Utilities ==== | ==== Timing Utilities ==== | ||
Line 652: | Line 657: | ||
The timer module also defines a function '' | The timer module also defines a function '' | ||
- | The timer module defines | + | Finally, there is a variant |
+ | |||
+ | < | ||
+ | def testAsyncNearbyPlayerReply(){ | ||
+ | def nearbyPlayers := // search 2 nearby player orjbects; | ||
+ | // wait a bit so that there are the 2 members. | ||
+ | when: 2.seconds elapsedWithFuture: | ||
+ | self.assertEquals(2, | ||
+ | } | ||
+ | }; | ||
+ | </ | ||
==== Logging Framework ==== | ==== Logging Framework ==== |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag