Open timotheecour opened 4 years ago
since nim as of https://github.com/nim-lang/Nim/pull/14176 I get this error:
Error: Cannot make async proc discardable. Futures have to be checked with asyncCheck instead of discarded
asyncCheck
for example from here:
proc uploadFile*[T: Mongo|AsyncMongo](bucket: GridFs[T], f: AsyncFile, filename = "", metadata = null(), chunksize = 255 * 1024): Future[bool] {.async, discardable.} =
since nim as of https://github.com/nim-lang/Nim/pull/14176 I get this error:
for example from here: