Self executing and self disposing signal
Assigneesalesforce.com, inc.
InventorAnthony Miller
Life of this patent
Estimating the term…
Abstract
Described herein are systems, apparatus, methods and computer program products for implementing a self executing and self disposing signal for an imperative programming language. The self executing and self disposing signal may be utilized by a ReactiveX specification programming language. The signal may be executed before it is observed by an external observer, reducing load times. Additionally, the signal may allow for multiple observers to observe the output of the signal at the same time and may be self disposing to prevent memory leaks.
Claims20
A method for processing a signal using imperative programming, the method comprising:
- creating, based on a first indication within a first code, a signal;
- determining that the signal is observed by an internal observer;
- begin processing of the signal based on the determining that the signal is observed by the internal observer;
- receiving, by the internal observer, an output from the processing of the signal based on the internal observer observing the signal;
- and
- providing, by the internal observer, the output from the processing of the signal to one or more external observers of a plurality of external observers observing the internal observer.
A computer program product comprising computer-readable program code capable of being executed by one or more processors when retrieved from a non-transitory computer-readable medium, the computer-readable program code comprising instructions configurable to cause operations comprising:
- creating, based on a first indication within a first code, a signal;
- determining that the signal is observed by an internal observer;
- begin processing of the signal based on the determining that the signal is observed by the internal observer;
- receiving, by the internal observer, an output from the processing of the signal based on the internal observer observing the signal;
- and
- providing, by the internal observer, the output from the processing of the signal to one or more external observers of a plurality of external observers observing the internal observer.
A computing system implemented using a server system, the computer computing system comprising:
- a processor;
- a memory;
- a signal function configured to begin processing a signal when observed by an observer and return an output based on the processing of the signal function;
- and
- an internal observer configured to observe the signal function to begin the processing of the signal function and receive the output from the processing of the signal function, wherein the internal observer is further configured to be observed by a plurality of external observers to allow the plurality of external observers to each view the output from the processing of the signal function.
Dependencies are inferred from the claim text.