remove debug output
This commit is contained in:
parent
254dbaf2fd
commit
ba3b4a1235
1 changed files with 0 additions and 3 deletions
|
|
@ -115,7 +115,6 @@ export function coupledExecution<T extends {[name: string]: any}>(models: {[name
|
|||
if (events.length > 0) {
|
||||
const [event, ...rest] = events;
|
||||
const destination = conns[model+'.'+event.name];
|
||||
console.log(model, '.', event, destination);
|
||||
if (destination === undefined) {
|
||||
// ignore
|
||||
console.log(`${model}.${event.name} goes nowhere`);
|
||||
|
|
@ -161,11 +160,9 @@ export function coupledExecution<T extends {[name: string]: any}>(models: {[name
|
|||
// @ts-ignore
|
||||
state[modelName] = modelState;
|
||||
}
|
||||
console.log('all outputs:', allOutputs);
|
||||
// 2. handle all output events (models' outputs may be inputs for each other)
|
||||
let finalOutputs = [];
|
||||
for (const [modelName, outputEvent] of allOutputs) {
|
||||
console.log('what about', modelName, outputEvent);
|
||||
let newOutputs;
|
||||
[newOutputs, state] = processOutputs(0, [outputEvent], modelName, state);
|
||||
finalOutputs.push(...newOutputs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue