Skip to content

v2.0.0

Choose a tag to compare

@solkimicreb solkimicreb released this 07 Feb 17:40
· 191 commits to master since this release

Breaking changes

  • Observed functions now run synchronously once, when passed to observe. After that they run asynchronously in a batch, like before.
  • queue is removed.
  • unobserve is moved from a global method into a signal method. See the related docs section here.

Features

  • Added signal.unqueue, which removes the associated observed function from the queued observers, without unobserving it. See the related docs section here.
  • Added signal.exec, which runs the observed function directly and synchronously. See the related docs section here.