DS#digest

DS#digest()

Trigger a digest loop that checks for changes and if any exist updates the lastModified timestamp if an object has changed, along with recomputing computed properties.

If your browser supports Object.observe then this method has no effect.

πŸ‘

Method Variants

You can call DS#digest multiple ways:

  • DS#digest()
  • Resource#digest() - Where Resource was created by DS#defineResource

πŸ“˜

Need help?

Want more examples or have a question? Ask on the Slack channel or post on the mailing list then we'll get your question answered and probably update this wiki.