Ticket #1272 (closed enhancement: wontfix)
allow forEachTiddler loop to be aborted
| Reported by: | FND | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6.3 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
For efficiency reasons, it can be useful to abort a forEachTiddler loop before it has traversed all elements.
For comparison, jQuery.each aborts if the callback function returns false.
My immediate use case is retrieving a single tiddler from the store based on a custom field.
Change History
Note: See
TracTickets for help on using
tickets.
