FluidDataObject: Don't send state update and command as bundle

Makes reasoning about overall sequences hard if using server latency, 
produces 'late' messages otherwise: we just need guarantee of ordering, 
not simultaneity.
nix
Owen Green 5 years ago
parent 78cf7bb20d
commit d2b95f2134

@ -283,12 +283,12 @@ FluidModelObject : FluidDataObject
}
prSendMsg {|msg|
server !? { server.bind(
{
super.prSendMsg(this.prUpdateStateMsg);
super.prSendMsg(msg);
});
}
//These need to happen sequentially, but not simultaneously
//sending as a bundle makes reasoning about timing w/r/t other
//commands more awkward, unless we set the offet to 0 (in which case,
//noisy 'late' messages)
super.prSendMsg(this.prUpdateStateMsg);
super.prSendMsg(msg);
}
}

Loading…
Cancel
Save