Created
March 10, 2017 23:38
-
-
Save quintesse/15f64ef3f2c0681dda90913605af3ed6 to your computer and use it in GitHub Desktop.
Ceylon Web Runner: Nullable Callable
This file contains hidden or 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
//$webrun_wrapped | |
shared void run() { | |
Anything(String)? onEvent = null; | |
if (exists onEvent) { | |
onEvent("foo"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Click here to run this code online