Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rename 'follow' functions, remove reference to 'on'

...

The then and recover macros are implemented in terms of two functions, follow then-call and followrecover-failcall, which take functions as arguments.

...

There is no API to remove or cancel a callback created with attend. Instead, the on then macro returns a promise which receives return value of the return value of the callback function. If you deliver a value to that returned promise before the underlying promise is delivered, the callback function will not be executed. There is an implicit race condition with cancellation, so this cannot guarantee that the callback function will never be executed at all.

...