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
Sink: 0 | |
Sink: 1 | |
Async for loop: 1 | |
Sink: 2 | |
Async for loop: 2 | |
Sink: 3 | |
Async for loop: 3 | |
Sink: 4 | |
Async for loop: 4 | |
Sink: 5 |
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
func orderFood<T: Server>(server: T, size: Int) { | |
prepareFood(server: server, size: size) | |
if !isFoodReady(server: server) { | |
fatalError("Food is not ready for some reason") | |
} | |
} |
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
extension DinnerServer: Server { } |
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
### Keybase proof | |
I hereby claim: | |
* I am lvalenta on github. | |
* I am lvalenta (https://keybase.io/lvalenta) on keybase. | |
* I have a public key ASAMg2SAFWdseanuRs3-BWzPOZpwAabAnHNC_QuFs8aE3Ao | |
To claim this, I am signing this object: |