yoavst
01/18/2016, 4:05 PMval delay: Long by lazy {
val res = arguments?.get("delay")
when (res) {
is Number -> res.toLong()
is String -> res.toLong()
else -> 0L
}
}
val arguments: Map<String, Any?>? = mapOf()
compiles