Skip to content

Instantly share code, notes, and snippets.

@honda0510
Created February 9, 2012 05:23
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 honda0510/1777559 to your computer and use it in GitHub Desktop.
Save honda0510/1777559 to your computer and use it in GitHub Desktop.
Io フューチャ 非同期メッセージ呼び出し
futureResult := URL with("http://google.com/") @fetch
writeln("Do something immediately while fetch goes on in background...")
writeln("This will block until the result is available.")
writeln("fetched ", futureResult size, " bytes")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment