executeModuleTask

abstract fun <R> executeModuleTask(task: (T) -> R): Single<TealiumResult<R>>

Eagerly executes a task for the Module, with the result returned as a TealiumResult

Return

Single containing either the result of the task, or the failing exception

Parameters

task

The task to execute for the Module