@cesdk/engine 1.34.0 → 1.35.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -4104,10 +4104,6 @@ export declare interface Reaction {
4104
4104
  * The reactor coordinates the update of registered _Reactions_.
4105
4105
  *
4106
4106
  * - Reactions are created with `createReaction()`
4107
- * - `reactor.decorateObject(object)` will register all functions on an object marked with
4108
- * `@getter` as read calls. If these are called during reaction tracking, their
4109
- * arguments and return values will be stored so that changes can be detected later.
4110
- * - `reactor.decorateFunction` does the same, but for individual functions
4111
4107
  * - `reaction.track(effect)` will run the effect and associate any engine read
4112
4108
  * calls during the execution with the Reaction.
4113
4109
  * - `reaction.subscribe(handler)` will invoke the handler whenever the engine read calls
@@ -4116,24 +4112,7 @@ export declare interface Reaction {
4116
4112
  * @public
4117
4113
  */
4118
4114
  export declare interface Reactor {
4119
- /**
4120
- * Decorate a single function to be tracked by the reactor.
4121
- * @param func - The function to decorate.
4122
- * @param fnName - Name of the function to decorate. Used to generate the
4123
- * callId, so make sure it's unique with regard to its context.
4124
- * @returns The decorated function. Calling this function will track the call
4125
- * in the Reactor and provide caching in reactions.
4126
- */
4127
- decorateFunction<A extends any[], R>(func: (...args: A) => R, fnName?: string): (...args: A) => R;
4128
- /**
4129
- * Decorate all marked `@getter` and `@setter` functions to be tracked by the reactor
4130
- *
4131
- * All functions on the object that are marked with `@getter` will be tracked
4132
- * during reaction tracking.
4133
- *
4134
- * @returns A function that can be called to stop tracking the object.
4135
- */
4136
- decorateObject<T extends object>(object: T): () => void;
4115
+
4137
4116
  /**
4138
4117
  * Create and return a new Reaction that is associated with this Reactor.
4139
4118
  */