mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-06-18 04:16:42 +00:00
images
micro_utils.dokka
dev.inmo.micro_utils.android.alerts.common
dev.inmo.micro_utils.android.alerts.recyclerview
dev.inmo.micro_utils.android.recyclerview
dev.inmo.micro_utils.common
dev.inmo.micro_utils.common.compose
dev.inmo.micro_utils.coroutines
[android]-accumulator-flow
[android]-actor-action
[android]-context-safely-exception-handler
[android]-context-safely-exception-handler-key
[android]-deferred-action
[android]-do-with-first-builder
[common]-accumulator-flow
[common]-actor-action
[common]-context-safely-exception-handler
[common]-context-safely-exception-handler-key
[common]-deferred-action
[common]-do-with-first-builder
[jvm]-accumulator-flow
[jvm]-actor-action
[jvm]-context-safely-exception-handler
[jvm]-context-safely-exception-handler-key
[jvm]-deferred-action
[jvm]-do-with-first-builder
-default.html
-i-o.html
-u-i.html
[android]-coroutine-scope.html
[android]-linked-supervisor-job.html
[android]-linked-supervisor-scope.html
[android]accumulator-flow.html
[android]actor.html
[android]async-safely-without-exceptions.html
[android]async-safely.html
[android]await-first-with-deferred.html
[android]await-first.html
[android]build-action.html
[android]context-safely-exception-handler.html
[android]create-actions-actor.html
[android]create-safe-actions-actor.html
[android]do-in-default.html
[android]do-in-i-o.html
[android]do-in-u-i.html
[android]do-in.html
[android]do-outside-of-coroutine.html
[android]do-synchronously.html
[android]do-with-suspending.html
[android]first-not-null.html
[android]first-of.html
[android]first.html
[android]invoke-first-of.html
[android]invoke-on-first-of.html
[android]invoke-on-first.html
[android]invoke.html
[android]launch-safely-without-exceptions.html
[android]launch-safely.html
[android]launch-synchronously.html
[android]plus.html
[android]run-catching-safely-without-exceptions.html
[android]run-catching-safely.html
[android]safe-actor.html
[android]safely-with-context-exception-handler.html
[android]safely-with-result.html
[android]safely-without-exceptions.html
[android]safely.html
[android]subscribe-async.html
[android]subscribe-safely-async.html
[android]subscribe-safely-skipping-exceptions-async.html
[android]subscribe-safely-skipping-exceptions.html
[android]subscribe-safely-without-exceptions-async.html
[android]subscribe-safely-without-exceptions.html
[android]subscribe-safely.html
[android]subscribe.html
[android]weak-async.html
[android]weak-launch.html
[common]-coroutine-scope.html
[common]-linked-supervisor-job.html
[common]-linked-supervisor-scope.html
[common]accumulator-flow.html
[common]actor.html
[common]async-safely-without-exceptions.html
[common]async-safely.html
[common]await-first-with-deferred.html
[common]await-first.html
[common]build-action.html
[common]context-safely-exception-handler.html
[common]create-actions-actor.html
[common]create-safe-actions-actor.html
[common]do-in-default.html
[common]do-in-u-i.html
[common]do-in.html
[common]do-outside-of-coroutine.html
[common]do-with-suspending.html
[common]first-not-null.html
[common]first-of.html
[common]first.html
[common]invoke-first-of.html
[common]invoke-on-first-of.html
[common]invoke-on-first.html
[common]invoke.html
[common]launch-safely-without-exceptions.html
[common]launch-safely.html
[common]plus.html
[common]run-catching-safely-without-exceptions.html
[common]run-catching-safely.html
[common]safe-actor.html
[common]safely-with-context-exception-handler.html
[common]safely-with-result.html
[common]safely-without-exceptions.html
[common]safely.html
[common]subscribe-async.html
[common]subscribe-safely-async.html
[common]subscribe-safely-skipping-exceptions-async.html
[common]subscribe-safely-skipping-exceptions.html
[common]subscribe-safely-without-exceptions-async.html
[common]subscribe-safely-without-exceptions.html
[common]subscribe-safely.html
[common]subscribe.html
[common]weak-async.html
[common]weak-launch.html
[jvm]-coroutine-scope.html
[jvm]-linked-supervisor-job.html
[jvm]-linked-supervisor-scope.html
[jvm]accumulator-flow.html
[jvm]actor.html
[jvm]async-safely-without-exceptions.html
[jvm]async-safely.html
[jvm]await-first-with-deferred.html
[jvm]await-first.html
[jvm]build-action.html
[jvm]context-safely-exception-handler.html
[jvm]create-actions-actor.html
[jvm]create-safe-actions-actor.html
[jvm]do-in-default.html
[jvm]do-in-i-o.html
[jvm]do-in-u-i.html
[jvm]do-in.html
[jvm]do-outside-of-coroutine.html
[jvm]do-synchronously.html
[jvm]do-with-suspending.html
[jvm]first-not-null.html
[jvm]first-of.html
[jvm]first.html
[jvm]invoke-first-of.html
[jvm]invoke-on-first-of.html
[jvm]invoke-on-first.html
[jvm]invoke.html
[jvm]launch-safely-without-exceptions.html
[jvm]launch-safely.html
[jvm]launch-synchronously.html
[jvm]plus.html
[jvm]run-catching-safely-without-exceptions.html
[jvm]run-catching-safely.html
[jvm]safe-actor.html
[jvm]safely-with-context-exception-handler.html
[jvm]safely-with-result.html
[jvm]safely-without-exceptions.html
[jvm]safely.html
[jvm]subscribe-async.html
[jvm]subscribe-safely-async.html
[jvm]subscribe-safely-skipping-exceptions-async.html
[jvm]subscribe-safely-skipping-exceptions.html
[jvm]subscribe-safely-without-exceptions-async.html
[jvm]subscribe-safely-without-exceptions.html
[jvm]subscribe-safely.html
[jvm]subscribe.html
[jvm]weak-async.html
[jvm]weak-launch.html
as-deferred.html
default-safely-exception-handler.html
default-safely-without-exception-handler-with-null.html
default-safely-without-exception-handler.html
index.html
dev.inmo.micro_utils.coroutines.compose
dev.inmo.micro_utils.crypto
dev.inmo.micro_utils.fsm.common
dev.inmo.micro_utils.fsm.common.dsl
dev.inmo.micro_utils.fsm.common.managers
dev.inmo.micro_utils.fsm.common.utils
dev.inmo.micro_utils.fsm.repos.common
dev.inmo.micro_utils.ktor.client
dev.inmo.micro_utils.ktor.common
dev.inmo.micro_utils.ktor.server
dev.inmo.micro_utils.ktor.server.configurators
dev.inmo.micro_utils.language_codes
dev.inmo.micro_utils.matrix
dev.inmo.micro_utils.mime_types
dev.inmo.micro_utils.pagination
dev.inmo.micro_utils.pagination.utils
dev.inmo.micro_utils.repos
dev.inmo.micro_utils.repos.cache
dev.inmo.micro_utils.repos.cache.cache
dev.inmo.micro_utils.repos.cache.full
dev.inmo.micro_utils.repos.crud
dev.inmo.micro_utils.repos.exposed
dev.inmo.micro_utils.repos.exposed.keyvalue
dev.inmo.micro_utils.repos.exposed.onetomany
dev.inmo.micro_utils.repos.exposed.utils
dev.inmo.micro_utils.repos.exposed.versions
dev.inmo.micro_utils.repos.keyvalue
dev.inmo.micro_utils.repos.ktor.client.crud
dev.inmo.micro_utils.repos.ktor.client.key.value
dev.inmo.micro_utils.repos.ktor.client.key.values
dev.inmo.micro_utils.repos.ktor.common
dev.inmo.micro_utils.repos.ktor.common.crud
dev.inmo.micro_utils.repos.ktor.common.key_value
dev.inmo.micro_utils.repos.ktor.common.one_to_many
dev.inmo.micro_utils.repos.ktor.server.crud
dev.inmo.micro_utils.repos.ktor.server.key.value
dev.inmo.micro_utils.repos.ktor.server.key.values
dev.inmo.micro_utils.repos.ktor.server.key_value
dev.inmo.micro_utils.repos.ktor.server.one_to_many
dev.inmo.micro_utils.repos.mappers
dev.inmo.micro_utils.repos.onetomany
dev.inmo.micro_utils.repos.pagination
dev.inmo.micro_utils.repos.versions
dev.inmo.micro_utils.selector
dev.inmo.micro_utils.serialization.base64
dev.inmo.micro_utils.serialization.encapsulator
dev.inmo.micro_utils.serialization.typed_serializer
package-list
scripts
styles
.nojekyll
index.html
navigation.html
66 lines
7.0 KiB
HTML
66 lines
7.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
<title>[common]subscribeSafelyAsync</title>
|
|
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
<script>var pathToRoot = "../../";</script>
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
const savedDarkMode = storage ? JSON.parse(storage) : false
|
|
if(savedDarkMode === true){
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}</script>
|
|
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script>
|
|
<link href="../../styles/style.css" rel="Stylesheet">
|
|
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet">
|
|
<link href="../../styles/main.css" rel="Stylesheet">
|
|
<link href="../../styles/prism.css" rel="Stylesheet">
|
|
<link href="../../styles/logo-styles.css" rel="Stylesheet">
|
|
<script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/main.js" defer="defer"></script>
|
|
<script type="text/javascript" src="../../scripts/prism.js" async="async"></script>
|
|
</head>
|
|
<body>
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
<div class="library-name">
|
|
<a href="../../index.html">
|
|
<span>micro_utils.dokka</span>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
0.12.3 </div>
|
|
<div class="pull-right d-flex">
|
|
<div class="filter-section" id="filter-section">
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":micro_utils.dokka:dokkaHtml/commonMain">common</button>
|
|
</div>
|
|
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
|
<div id="searchBar"></div>
|
|
</div>
|
|
</div>
|
|
<div id="container">
|
|
<div id="leftColumn">
|
|
<div id="sideMenu"></div>
|
|
</div>
|
|
<div id="main">
|
|
<div class="main-content" id="content" pageIds="micro_utils.dokka::dev.inmo.micro_utils.coroutines//subscribeSafelyAsync/kotlinx.coroutines.flow.Flow[TypeParam(bounds=[kotlin.Any?])]#kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]#kotlin.coroutines.SuspendFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Unit]/PointingToDeclaration//-1478683138">
|
|
<div class="breadcrumbs"><a href="../../index.html">micro_utils.dokka</a><span class="delimiter">/</span><a href="index.html">dev.inmo.micro_utils.coroutines</a><span class="delimiter">/</span><a href="[common]subscribe-safely-async.html">[common]subscribeSafelyAsync</a></div>
|
|
<div class="cover ">
|
|
<h1 class="cover"><span>subscribe</span><wbr></wbr><span>Safely</span><wbr></wbr><span><span>Async</span></span></h1>
|
|
</div>
|
|
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain" data-active="" data-toggle=":micro_utils.dokka:dokkaHtml/commonMain">common</button></div>
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">M</a><span class="token operator">> </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator"><</span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">T</a><span class="token operator">></span><span class="token punctuation">.</span><a href="[common]subscribe-safely-async.html"><span class="token function">subscribeSafelyAsync</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> scope<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="token punctuation">, </span></span><span class="parameter indented"> <span class="token keyword">noinline </span>markerFactory<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">T</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">M</a><span class="token punctuation">, </span></span><span class="parameter indented"> <span class="token keyword">noinline </span>onException<span class="token operator">: </span><a href="index.html#-738983448%2FClasslikes%2F-1478683138">ExceptionHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token operator">></span><span class="token operator"> = </span>defaultSafelyExceptionHandler<span class="token punctuation">, </span></span><span class="parameter indented"> <span class="token keyword">noinline </span>block<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="[common]subscribe-safely-async.html">T</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
</div>
|
|
<div class="footer">
|
|
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span
|
|
class="pull-right"><span>Generated by </span><a
|
|
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|