mwg API
    Preparing search index...

    Type Alias TrainingFactory<Config, State, Command, Event>

    TrainingFactory: (
        tools: { TrainingEnvironment: typeof TrainingEnvironment },
        config: Config,
    ) => TrainingEnvironment<State, Command, Event>

    Factory must be self-contained, like threads.spawn; use the supplied constructor rather than imports.

    Type Parameters

    • Config
    • State
    • Command
    • Event

    Type Declaration