Skip to content

Letoderea 0.5.0

Compare
Choose a tag to compare
@RF-Tar-Railt RF-Tar-Railt released this 23 Apr 14:12
· 56 commits to main since this release
  1. es.register -> es.on
  2. StepOut 增加泛型支持
  3. StepOut 支持 async iter, 使用方式如下:
async for res in StepOut([Event], handler):
   ...

等价于

while True:
    res = await break_point(StepOut([Event], handler))
    ...
  1. 事件发布时,全局 publisher 现在总是会加入待检查队列中

Full Changelog: v0.4.1...0.5.0