主权项 |
1. A method comprising:
receiving, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects; in response to receiving the register instruction:
identifying, by the macro handler, the one or more dominant objects comprising input for the first function;registering with the one or more dominant objects on behalf of the at least one dependent object; andinstructing the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object; receiving an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function; and removing the registration. |