Skip to content

Instantly share code, notes, and snippets.

@Yardanico
Created July 26, 2017 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yardanico/db646bec7d548dbe85193015077b835c to your computer and use it in GitHub Desktop.
Save Yardanico/db646bec7d548dbe85193015077b835c to your computer and use it in GitHub Desktop.
errors.nim(6, 19) Error: type mismatch: got (Future[system.void], proc (){.closure, locks: <unknown>.})
but expected one of:
proc callback=[T](future: FutureStream[T];
cb: proc (future: FutureStream[T]))
proc callback=[T](future: Future[T];
cb: proc (future: Future[T]))
proc callback=(future: FutureBase; cb: proc ())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment