Skip to content

Instantly share code, notes, and snippets.

@giann

giann/async.lua Secret

Created July 25, 2017 06:00
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 giann/d41855f83c3ddfcb32616a95b29340e8 to your computer and use it in GitHub Desktop.
Save giann/d41855f83c3ddfcb32616a95b29340e8 to your computer and use it in GitHub Desktop.
local bird1 = fetch("http://some.api.com/raven") -- fetch being a random xhr call
local bird2 = fetch("http://some.api.com/dove")
print(bird1.name, bird2.name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment