rlmesh::EnvFactoryServeOptions
Class in rlmesh.hpp.
struct EnvFactoryServeOptionsFields
Methods
- with_num_envs()
EnvFactoryServeOptions& with_num_envs(int64_t value) & - with_num_envs()
EnvFactoryServeOptions with_num_envs(int64_t value) && - with_workflow_edition()
EnvFactoryServeOptions& with_workflow_edition(std::optional<std::string> value) & - with_workflow_edition()
EnvFactoryServeOptions with_workflow_edition(std::optional<std::string> value) && - with_make_kwargs()
EnvFactoryServeOptions& with_make_kwargs(Kwargs value) & - with_make_kwargs()
EnvFactoryServeOptions with_make_kwargs(Kwargs value) && - with_cancel()
EnvFactoryServeOptions& with_cancel(std::optional<ext::CancelToken> value) & - with_cancel()
EnvFactoryServeOptions with_cancel(std::optional<ext::CancelToken> value) &&
num_envs
field[source]int64_t num_envs = 1workflow_edition
field[source]std::optional<std::string> workflow_edition{}make_kwargs
field[source]Kwargs make_kwargs{}cancel
field[source]std::optional<ext::CancelToken> cancel{}with_num_envs
method[source]EnvFactoryServeOptions& with_num_envs(int64_t value) &with_num_envs
method[source]EnvFactoryServeOptions with_num_envs(int64_t value) &&with_workflow_edition
method[source]EnvFactoryServeOptions& with_workflow_edition(
std::optional<std::string> value
) &with_workflow_edition
method[source]EnvFactoryServeOptions with_workflow_edition(
std::optional<std::string> value
) &&with_make_kwargs
method[source]EnvFactoryServeOptions& with_make_kwargs(Kwargs value) &with_make_kwargs
method[source]EnvFactoryServeOptions with_make_kwargs(Kwargs value) &&with_cancel
method[source]EnvFactoryServeOptions& with_cancel(
std::optional<ext::CancelToken> value
) &with_cancel
method[source]EnvFactoryServeOptions with_cancel(
std::optional<ext::CancelToken> value
) &&