Comments (8)
No, you're not missing anything. This was deliberate, but probably misguided. We should have made it a configurable setting, and that's what we'll do as a fix.
from boomerang.
Thank you for such a quick response. I wonder if this could possibly be configured to provide a callback when complete? That would essentially allow it to be used ad-hoc (firing on run() and awaiting a completion callback). It's not something I'd want fired on every page load anyways (necessarily), and I can see uses in a Single Page Application setting where it might be helpful to execute and await at arbitrary times. I can see why it was pulled out of the normal pipeline, it's a bit of a different beast than most of the other plugins.
If that's of interest, I'd be happy to take a crack at it.
from boomerang.
from boomerang.
Oh ok, that makes sense :). I wanted to go ahead and get something working so I forked and added two params to allow bypass of the cookie cache, and to make the beacon wait. Hope it helps.
from boomerang.
If I updated documentation, would a PR be welcome?
from boomerang.
Added some code review comments to your code. Yes, I'd accept a pull request with those fixed and the docs updated accordingly. Thanks.
from boomerang.
Thanks!
Made the changes you requested (and thanks for the clarification on how that works). I also updated the documentation where applicable. Let me know if there's anything you'd like me to change, and if not I'll send the request.
from boomerang.
Fixed by #50
from boomerang.
Related Issues (20)
- Support for JAMStack-style single page apps? HOT 5
- Is it possible to use autoxhr plugin without rt plugin? HOT 22
- Which event should I subscribe to control header value? HOT 1
- Can we use Boomerang to send custom metrics/logs? HOT 1
- Bug: Trying to read metric from plugin that is undefined HOT 1
- How does the Cache-Reload Plugin works HOT 3
- API Key Disclosure HOT 2
- how about to move Plugins to webworker
- Integrate Plugins into asynchronous loader snippet HOT 5
- Continuity Visually Ready (c.tti.vr) gradually increased in Chromium 105 and 106 HOT 3
- What event should I subscribe to to know when the fetch is complete HOT 2
- t_done,t_page and rt.tt values are negative on SPA HOT 21
- Global collision issue HOT 2
- about web vital score HOT 1
- How to know user spent time on page HOT 6
- soft navigation not stop
- disable page unload beacon HOT 2
- Potential forced style layout HOT 5
- What is the use of the last_location function in spa plugin HOT 2
- SPA beacon is blocked if link href value is updated after soft navigation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boomerang.