Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "asyncgui-ext-clock"
version = "0.5.2.dev0"
version = "0.5.2"
description = "An event scheduler for asyncgui programs"
authors = ["Nattōsai Mitō <flow4re2c@gmail.com>"]
license = "MIT"
Expand Down
6 changes: 4 additions & 2 deletions sphinx/readme_jp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ ReadMe |ja|
print("Hello")

asyncgui.start(async_fn())
clock.tick(10) # 時間が10進む
clock.tick(10) # 時間を10進める
clock.tick(10) # 合計で20進むのでタスクが再開し 'Hello' が表示される。

この様に ``clock.tick()`` を呼ぶ事で時計内部の時が進み停止中のタスクが再開するわけです
この様に ``clock.tick()`` を呼ぶ事で時計内部の時が進み停止中のタスクが再開します
また :mod:`sched` と同じで時間の単位が決まってない事に気付いたと思います。
APIに渡す時間の単位は統一さえされていれば何でも構いません。

Expand Down Expand Up @@ -64,6 +64,8 @@ APIに渡す時間の単位は統一さえされていれば何でも構いま
* CPython 3.10
* CPython 3.11
* CPython 3.12
* CPython 3.13
* PyPy 3.10

その他
-----------------------
Expand Down
Loading