(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/env kscript | |
| import java.io.File | |
| // usage - one argument a .kt file (Scala file that was only renamed) | |
| // or a directory | |
| try { | |
| main(args) | |
| } catch (e: Exception) { | |
| e.printStackTrace() |
| import com.github.jasync.sql.db.Configuration | |
| import com.github.jasync.sql.db.Connection | |
| import com.github.jasync.sql.db.QueryResult | |
| import com.github.jasync.sql.db.RowData | |
| import com.github.jasync.sql.db.mysql.MySQLConnection | |
| import com.github.jasync.sql.db.mysql.util.URLParser | |
| import com.github.jasync.sql.db.util.head | |
| import com.github.jasync.sql.db.util.map | |
| import java.util.concurrent.CompletableFuture |