Created
February 9, 2012 05:23
-
-
Save honda0510/1777559 to your computer and use it in GitHub Desktop.
Io フューチャ 非同期メッセージ呼び出し
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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