Event for once the initial load is completed
See original GitHub issueIt would be helpful to have an event once the initial load of all the rss feeds are completed. For example, some people might not want to do anything with the items already existing in the feeds, and could do something like this:
feeder.on('initial-load', function () {
console.log('Waiting for something new!')
feeder.on('new-item', function (item) {
doSomething(item)
})
})
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Window: load event - Web APIs - MDN Web Docs - Mozilla
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets, scripts, iframes, and images.
Read more >The First Event: load | Events in JavaScript
The First Event: load. Typically, the first thing you want JavaScript to do is set up the initial state of the page so...
Read more >Page: DOMContentLoaded, load, beforeunload, unload
The load event on the window object triggers when the whole page is loaded including styles, images and other resources. This event is...
Read more >Event after initial load
Is there an event that fires after the Datatable has loaded its initial state (first page of data, applied extra widgets etc)?
Read more >Is there an after Page_Load event in ASP.net
The Load event works the other way around, the page first raises the Load event and then each child control raises its own...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MichaelPriebe technically it’s not abandoned 😃 I’m rearranging my work/life balance to get back to my personal projects 👍
Once I’m back, probably this is the first feature I’m going to implement. The interface probably is going to be different than you suggested. What if you could instantiate the emitter with an option to ignore the first load?
For example:
hey @Vezqi, i’m working on adding both the case and the event keyed like…
initial-load:${feed.url}
with #184