https://kotlinlang.org logo
i

Ian

01/12/2017, 11:53 PM
The closure passed to the constructor of KWeb is intended to issue commands to the web browser to create a DOM element, and then verify that the value of an attribute can be retrieved (the current code is intended to fail). Reading from the DOM is a time consuming operation so kweb uses Futures and async/await to do it.