I hereby claim:
- I am jakob on github.
- I am jabakobob (https://keybase.io/jabakobob) on keybase.
- I have a public key ASAdks5IMhDaWtYabcY9zNQlJBQ5P_OpWDymtIYbyUwoTAo
To claim this, I am signing this object:
| // | |
| // UDPClient.h | |
| // ParticleCar | |
| // | |
| // Created by Jakob Egger on 06/11/2016. | |
| // Copyright © 2016 Egger Apps. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -e | |
| mkdir clangd | |
| cd clangd/ | |
| svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm | |
| cd llvm/tools | |
| svn co http://llvm.org/svn/llvm-project/cfe/trunk clang |
I love the async/await proposal, but some of the examples are too simplified. In this message I'd like to explore what a more thorough example could look like.
Let's start with this example from the proposal:
@IBAction func buttonDidClick(sender:AnyObject) {
beginAsync {
let image = await processImage()
imageView.image = image
}
}
| ## | |
| # Host Database | |
| # | |
| # localhost is used to configure the loopback interface | |
| # when the system is booting. Do not change this entry. | |
| ## | |
| 127.0.0.1 localhost | |
| 255.255.255.255 broadcasthost | |
| ::1 localhost | |
| fe80::1%lo0 localhost |