mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-09 19:05:52 +00:00
483054cda6
* 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>