1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

remove several PreviewFeature

This commit is contained in:
InsanusMokrassar 2020-11-21 15:19:31 +06:00
parent a3f315a73a
commit da5e46e59f
2 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import kotlinx.coroutines.CoroutineScope
/** /**
* Shortcut for [dev.inmo.micro_utils.coroutines.safely]. It was created for more comfortable way of handling different things * Shortcut for [dev.inmo.micro_utils.coroutines.safely]. It was created for more comfortable way of handling different things
*/ */
@PreviewFeature
@Deprecated("In future will be used typealias from micro_utils", ReplaceWith("safely", "dev.inmo.micro_utils.coroutines.safely")) @Deprecated("In future will be used typealias from micro_utils", ReplaceWith("safely", "dev.inmo.micro_utils.coroutines.safely"))
suspend inline fun <T> safely( suspend inline fun <T> safely(
noinline onException: ExceptionHandler<T> = { throw it }, noinline onException: ExceptionHandler<T> = { throw it },

View File

@ -72,7 +72,6 @@ fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
* [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting * [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting
*/ */
@FlowPreview @FlowPreview
@PreviewFeature
@Suppress("unused") @Suppress("unused")
fun RequestsExecutor.startGettingFlowsUpdatesByLongPolling( fun RequestsExecutor.startGettingFlowsUpdatesByLongPolling(
timeoutSeconds: Seconds = 30, timeoutSeconds: Seconds = 30,