Closed tballmsft closed 3 years ago
I think we just want to handle read/write. User may have logic to handle missing roles.
@pelikhan, @mmoskal - the question here is what we should do on failure of an instruction (because of absence of a role, or bus problem). Options
Note that if a handler works with two roles, one of which is not present and we keep executing the handler partially, at some point the state could get very much out of sync. So there is also the question of what to do with a handler that has failed. We could
fixed by https://github.com/microsoft/jacdac-ts/commit/f0e7ba6e242308296f97c12f565c5228e9e1afc4.
I only restart a handler when all its roles are bound.
register read/write failing during handler