diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-04-24 20:09:39 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-04-24 20:09:39 +0000 |
| commit | d5e0b45649c755de98b78cbb0488483af2d270db (patch) | |
| tree | b6a34bd92dee18274e0ba1e8231f8e795d78a0d2 /alv/stream | |
| parent | remove AST:quote() (diff) | |
| download | alive-d5e0b45649c755de98b78cbb0488483af2d270db.tar.gz alive-d5e0b45649c755de98b78cbb0488483af2d270db.zip | |
code readability
Diffstat (limited to 'alv/stream')
| -rw-r--r-- | alv/stream/io.moon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alv/stream/io.moon b/alv/stream/io.moon index 9b0159c..e17daa8 100644 --- a/alv/stream/io.moon +++ b/alv/stream/io.moon @@ -34,13 +34,13 @@ class IOStream extends EventStream --- poll for changes. -- -- Called every frame by the main event loop to update internal state. - tick: => + poll: => --- check whether this adapter requires processing. -- -- Must return a boolean indicating whether `Op`s that refer to this instance -- via `Input.hot` should be notified (via `Op:tick`). May be called multiple - -- times. May be called before `tick` on the first frame after construction. + -- times. May be called before `poll` on the first frame after construction. -- -- If this is not overrided, the `EventStream` interface can be used, see -- `EventStream.add`, `EventStream.unwrap`, and `EventStream.dirty`. |
