core / pragma.jobs / BackgroundManager / fireAndForget /

fireAndForget #

abstract fun fireAndForget(name: String, block: suspend CoroutineScope.() -> Unit): Job

Runs the block of code in the background. Will not wait for results.

Parameters #

name

The name used in logging of errors

block

Block of code to be executed.