Skip to content

Instantly share code, notes, and snippets.

@turtlebender
Created February 3, 2014 16:43
Show Gist options
  • Select an option

  • Save turtlebender/8787394 to your computer and use it in GitHub Desktop.

Select an option

Save turtlebender/8787394 to your computer and use it in GitHub Desktop.
What do we need to do to make safeGitio actually return a value that can be consumed immediately?
safeGitio = (link) ->
gitio link, (err, data) ->
if err then link else data
@jdrake
Copy link
Copy Markdown

jdrake commented Feb 7, 2014

Is gitio asynchronous?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment