blob: c677dd12cad1c71b88894d976362b7e6e7ec4d12 [file] [log] [blame]
Roman Elizarova7db8ec2017-12-21 22:45:12 +03001/*
Roman Elizarov1f74a2d2018-06-29 19:19:45 +03002 * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
Roman Elizarova7db8ec2017-12-21 22:45:12 +03003 */
4
Roman Elizarova12ee152017-12-20 10:50:17 +03005package kotlinx.coroutines.experimental
6
Roman Elizarovaa461cf2018-04-11 13:20:29 +03007public expect interface Runnable {
8 public fun run()
9}
Roman Elizarova12ee152017-12-20 10:50:17 +030010
Roman Elizarovaa461cf2018-04-11 13:20:29 +030011@Suppress("FunctionName")
12public expect inline fun Runnable(crossinline block: () -> Unit): Runnable