You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ Example usage:
59
59
idleTask()
60
60
61
61
62
+
An example simple game that uses nonblock\_read to drive input whilst always refreshing the map and moving a monster around can be found at: https://github.com/kata198/python-nonblock/blob/master/example/simpleGame.py
63
+
62
64
**Background Reading - bgread**
63
65
64
66
Sometimes you may want to collect data from one or more streams in the background, and check/process the data later.
Copy file name to clipboardExpand all lines: README.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,8 @@ Example usage:
84
84
idleTask()
85
85
86
86
87
+
An example simple game that uses nonblock_read to drive input whilst always refreshing the map and moving a monster around can be found at: https://github.com/kata198/python-nonblock/blob/master/example/simpleGame.py
88
+
87
89
88
90
**Background Reading - bgread**
89
91
@@ -192,7 +194,6 @@ bgwrite will write data in blocks and perform heuristics in order to provide int
192
194
193
195
An example of a script using several bgwrites in addition to performing CPU-bound calculations can be found at: https://github.com/kata198/python-nonblock/blob/master/testWrite.py
194
196
195
-
An example simple game that uses nonblock_read to drive input whilst always refreshing the map and moving a monster around can be found at: https://github.com/kata198/python-nonblock/blob/master/example/simpleGame.py
0 commit comments