provideContext

abstract fun provideContext(builder: ContextResultBuilder)

Add a set of grouped context action builders to a result

You can also modify existing builders in this call if a downstream provider set an initial state that needs changing. For example:

val builder = child.provideContext(builder)
builder.apply("child_group", ContextType.YOUR_TYPE) { actionBuilder: ContextAction.Builder -> /* apply needed tweaks here */}

ValidatedCondition.contextActionBuilder is an example of a similar process (albeit using the validation systems method for collecting inputs to this provider process)

Author

fzzyhmstrs

Since

0.6.0

Parameters

builder

ContextResultBuilder builder to add or apply new context actions to