DiamondLightSource / aioca

Asynchronous Channel Access client for asyncio and Python using libca via ctypes
Apache License 2.0
6 stars 3 forks source link

Support sync functions that return awaitables #33

Closed coretl closed 1 year ago

coretl commented 1 year ago

E.g. lambda value: async_func(value)

Also fix some mypy issues

Fixes https://github.com/dls-controls/aioca/issues/32

codecov[bot] commented 1 year ago

Codecov Report

Merging #33 (8064d58) into master (777dab1) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          422       428    +6     
=========================================
+ Hits           422       428    +6     
Impacted Files Coverage Δ
aioca/_catools.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.