rlmesh::SessionOptions
Class in rlmesh.hpp.
struct SessionOptionsFields
- instruction
std::optional<std::string> instruction{} - close_env
bool close_env = false - trust_entrypoints
std::optional<bool> trust_entrypoints{} - execution_horizon
uint32_t execution_horizon = 1 - view
std::optional<View> view{} - workflow_edition
std::optional<std::string> workflow_edition{} - cancel
std::optional<ext::CancelToken> cancel{}
Methods
- with_instruction()
SessionOptions& with_instruction(std::optional<std::string> value) & - with_instruction()
SessionOptions with_instruction(std::optional<std::string> value) && - with_close_env()
SessionOptions& with_close_env(bool value) & - with_close_env()
SessionOptions with_close_env(bool value) && - with_trust_entrypoints()
SessionOptions& with_trust_entrypoints(std::optional<bool> value) & - with_trust_entrypoints()
SessionOptions with_trust_entrypoints(std::optional<bool> value) && - with_execution_horizon()
SessionOptions& with_execution_horizon(uint32_t value) & - with_execution_horizon()
SessionOptions with_execution_horizon(uint32_t value) && - with_view()
SessionOptions& with_view(std::optional<View> value) & - with_view()
SessionOptions with_view(std::optional<View> value) && - with_workflow_edition()
SessionOptions& with_workflow_edition(std::optional<std::string> value) & - with_workflow_edition()
SessionOptions with_workflow_edition(std::optional<std::string> value) && - with_cancel()
SessionOptions& with_cancel(std::optional<ext::CancelToken> value) & - with_cancel()
SessionOptions with_cancel(std::optional<ext::CancelToken> value) &&
instruction
field[source]std::optional<std::string> instruction{}close_env
field[source]bool close_env = falsetrust_entrypoints
field[source]std::optional<bool> trust_entrypoints{}execution_horizon
field[source]uint32_t execution_horizon = 1view
field[source]std::optional<View> view{}workflow_edition
field[source]std::optional<std::string> workflow_edition{}cancel
field[source]std::optional<ext::CancelToken> cancel{}with_instruction
method[source]SessionOptions& with_instruction(std::optional<std::string> value) &with_instruction
method[source]SessionOptions with_instruction(std::optional<std::string> value) &&with_close_env
method[source]SessionOptions& with_close_env(bool value) &with_close_env
method[source]SessionOptions with_close_env(bool value) &&with_trust_entrypoints
method[source]SessionOptions& with_trust_entrypoints(std::optional<bool> value) &with_trust_entrypoints
method[source]SessionOptions with_trust_entrypoints(std::optional<bool> value) &&with_execution_horizon
method[source]SessionOptions& with_execution_horizon(uint32_t value) &with_execution_horizon
method[source]SessionOptions with_execution_horizon(uint32_t value) &&with_view
method[source]SessionOptions& with_view(std::optional<View> value) &with_view
method[source]SessionOptions with_view(std::optional<View> value) &&with_workflow_edition
method[source]SessionOptions& with_workflow_edition(
std::optional<std::string> value
) &with_workflow_edition
method[source]SessionOptions with_workflow_edition(
std::optional<std::string> value
) &&with_cancel
method[source]SessionOptions& with_cancel(std::optional<ext::CancelToken> value) &with_cancel
method[source]SessionOptions with_cancel(std::optional<ext::CancelToken> value) &&