ScopeServiceImpl

class ScopeServiceImpl(val idGenerator: ScopeIdGenerator, val isInternalErrorDetector: (e: Throwable) -> Boolean) : ScopeService<ScopeServiceImpl.ScopeImpl>

Constructors

Link copied to clipboard
constructor(idGenerator: ScopeIdGenerator, isInternalErrorDetector: (e: Throwable) -> Boolean)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class ScopeImpl(id: String, description: String, params: ScopeParams?) : Scope

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun continueScope(scope: ScopeServiceImpl.ScopeImpl, description: String, params: ScopeParams?): ScopeServiceImpl.ScopeImpl
Link copied to clipboard
open suspend override fun logError(scope: ScopeServiceImpl.ScopeImpl, e: Exception)
Link copied to clipboard
inline suspend fun <T, S : Scope> ScopeService<S>.runInScope(description: String, operationBody: (Scope) -> T): T
inline suspend fun <T, S : Scope> ScopeService<S>.runInScope(scope: S, description: String, operationBody: (S) -> T): T
Link copied to clipboard
open suspend override fun scopeFinished(scope: ScopeServiceImpl.ScopeImpl)
Link copied to clipboard
open suspend override fun startScope(description: String, params: ScopeParams?): ScopeServiceImpl.ScopeImpl