Function scheduledModelRun
- scheduledModelRun<
Model extends object,
Real,
CheckAsync extends boolean,
InitialModel extends object,
>(
scheduler: Scheduler<unknown>,
s:
| ModelRunSetup<InitialModel, Real>
| ModelRunAsyncSetup<InitialModel, Real>,
cmds: Iterable<AsyncCommand<Model, Real, CheckAsync>, any, any>,
): Promise<void> Type Parameters
- Model extends object
- Real
- CheckAsync extends boolean
- InitialModel extends object
Returns Promise<void>
Run asynchronous and scheduled commands over a
Model
and theReal
systemThrow in case of inconsistency