GoalExecutionRestriction

class GoalExecutionRestriction(val policy: GoalExecutionRestrictionPolicy = GoalExecutionRestrictionPolicy.ERROR) : CoroutineContext.Element

A special coroutine context key that allows or disallows goal execution during configuration time (eager execution).

Constructors

Link copied to clipboard
constructor(policy: GoalExecutionRestrictionPolicy = GoalExecutionRestrictionPolicy.ERROR)

Types

Properties

Link copied to clipboard
open override val key: CoroutineContext.Key<*>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext