aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin
diff options
context:
space:
mode:
authorvmishenev <vad-mishenev@yandex.ru>2021-07-28 14:57:38 +0300
committervmishenev <vad-mishenev@yandex.ru>2021-07-28 19:11:50 +0300
commitf03083d7534209ad94dc3c4d7afd17f58e58127d (patch)
tree8160e6e8d376fc16ad559cfa59048c5447d2e2bd /examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin
parent2cd95b0828518dde751d039f4456dcf93e04dfc1 (diff)
downloaddokka-f03083d7534209ad94dc3c4d7afd17f58e58127d.tar.gz
dokka-f03083d7534209ad94dc3c4d7afd17f58e58127d.tar.bz2
dokka-f03083d7534209ad94dc3c4d7afd17f58e58127d.zip
Migrate Dokka examples to Dokka repo (KT-47798) (#2030)
* Migrate Dokka examples to Dokka repo (KT-47798) * Configure workflow of examples checking * Add workflow to deploy examples
Diffstat (limited to 'examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin')
-rw-r--r--examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/asyncWithDealy.kt8
-rw-r--r--examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/getCurrentDate.kt8
2 files changed, 16 insertions, 0 deletions
diff --git a/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/asyncWithDealy.kt b/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/asyncWithDealy.kt
new file mode 100644
index 00000000..7b5fe652
--- /dev/null
+++ b/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/asyncWithDealy.kt
@@ -0,0 +1,8 @@
+package org.kotlintestmpp
+
+import kotlinx.coroutines.CoroutineScope
+import kotlinx.coroutines.Deferred
+
+actual fun <T> CoroutineScope.asyncWithDealy(delay: Long, block: suspend () -> T): Deferred<T> {
+ TODO("Not yet implemented")
+}
diff --git a/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/getCurrentDate.kt b/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/getCurrentDate.kt
new file mode 100644
index 00000000..3e7849b6
--- /dev/null
+++ b/examples/gradle/dokka-multiplatform-example/src/macosMain/kotlin/org/kotlintestmpp/getCurrentDate.kt
@@ -0,0 +1,8 @@
+package org.kotlintestmpp
+
+/**
+ * Actual function for mac os
+ */
+actual fun getCurrentDate(): String {
+ TODO("Not yet implemented")
+} \ No newline at end of file