This reference describes unreleased code on main; no release documents it yet.

rlmesh::EnvFactoryServeOptions

classExperimental#include <rlmesh.hpp>[source]

Class in rlmesh.hpp.

struct EnvFactoryServeOptions

num_envs

field[source]
int64_t num_envs = 1

workflow_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
) &&