How about:
    
    
    proc impl() =discard "..."
    
    proc wrapperForLibUv(future: ???) {.cdecl.} =
      try:
        impl()
      except:
        future.setError()
    
    
    
    Run

But I still don't understand the problem tbh.

Reply via email to