readStrategy

suspend fun readStrategy(block: suspend (AIAgentStrategy<*, *>) -> Unit)(source)

Executes a given block of code with the AIAgentStrategy instance of this context.

Parameters

block

A suspending lambda function that receives the AIAgentStrategy instance.