title: Callback to constructor with multiple parameters
body: <p>What I've tried so far is callback with single parameter and it works:</p>
  
  <pre><code>class SomeClass (something:Int = 3, val callback: (Int) -&gt; Unit) {
      fun doSomething() {
        callback(11)
      }
  }
  
  class AnotherClass {
  
      val something = SomeClass({onSomething(it)}) 
  
      protected fun onSomething(num: Int) {
          // ...
      }
  }
  </code></pre>
  
  <p>But how to implemented it with multiple parameters like:</p>
  
  <pre><code>class SomeClass (something:Int = 3, val callback: (Int, String) -&gt; Unit) {
      fun doSomething() {
        callback(11, "Yeah")
      }
  }
  
  class AnotherClass {
  
      val something = SomeClass(/* ...... what goes here???? */) 
  
      protected fun onSomething(num: Int, str: String) {
          // ...
      }
  }
  </code></pre>