async

abstract fun async(scope: CoroutineScope, ioDispatcher: CoroutineDispatcher = Dispatchers.IO): AsyncTerminalMethods

Switches the builder to asynchronous mode. Requires providing a CoroutineScope in which operations will be launched.

Return

New builder instance with asynchronous terminal methods.

Parameters

scope

Coroutine scope (typically from ViewModel/Handler) for lifecycle management.

ioDispatcher

Dispatcher on which the query should be executed