Created
November 1, 2012 13:16
-
-
Save dmundt/3993580 to your computer and use it in GitHub Desktop.
Dart: From Ports to Objects
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
// Taken from [Dart Today and Beyond (Gilad Bracha/Google)](http://www.dartlang.org/slides/2012/10/html5devconf/dart-today-and-beyond.pdf) (slide 34) | |
class IsolateWrapper { | |
SendPort _sendPort; | |
IsolateWrapper(this._sendPort); | |
noSuchMethod(name, args){ | |
return _sendPort.call([name, args]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment