Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add "Future Seq" notes

...

Where I'm currently stuck is on the return value of observe. Logically, it should return another Observable, containing some reference to the result of the passed observer. I think it should return an "Observable Future," which can be dereferenced to get the result value of the observer, or observed again to subscribe another observer to that result when it becomes available.

Ideas: July 9, 2011: "Future Seqs"

  • Add callbacks to promises: invoke a fn when the promise gets a value
  • Construct a "future seq" where each Cons cell is backed by a promise
  • Example implementation here