Documentation Language: Swift

Method

registerModel(_:alias:)

Registers a model with the execution engine.

func registerModel(_ model: IModel, alias: String)

Parameters

model

The model to register

alias

The alias to use for the model

Discussion

This allows adding models after the engine has been created, which is useful for transformation engines that configure models dynamically.