Cloudstream
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Cloudstream
Library
/
com.lagradost.cloudstream3.mvvm
/
safeAsync
safe
Async
common
suspend
fun
<
T
>
safeAsync
(
apiCall
:
suspend
(
)
->
T
)
:
T
?
(
source
)
Catches any exception (or error) and only logs it. Will return null on exceptions.