mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-02-10 18:26:40 +00:00
* small fixes * more efficient codegen for nil check (much less code) * release futures earlier in AsyncEvent * release finished future earlier in AsyncQueue * avoid searches for futures (deque variant unused / broken) * avoid catching defects * Fix AsyncEvent test, because of optimization. * delete fix * avoid seq allocs * Keep style consistent with other code. Refactor AsyncEvent and AsyncQueue to not use `result` keyword. Co-authored-by: cheatfate <eugene.kabanov@status.im>