Note that when we say “an instance of Runnable,” what we mean is “an instance of an anonymous class implementing Runnable.” The compiler will create that for you
7 compilation subtlety
new object will be created ONLY if the lambda accesses variables from the function where it's defined. In other words stateless (context independent) lambda instance will be reused!
Share this highlighthttp://www.safaribooksonline.com/a/kotlin-in-action/8918267/