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:
parent
a3f315a73a
commit
da5e46e59f
@ -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 },
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user