Skip to content

Introduce EventListener.#314

Merged
colinrtwhite merged 7 commits into
masterfrom
colin/event_listener
Mar 19, 2020
Merged

Introduce EventListener.#314
colinrtwhite merged 7 commits into
masterfrom
colin/event_listener

Conversation

@colinrtwhite
Copy link
Copy Markdown
Member

@colinrtwhite colinrtwhite commented Mar 15, 2020

Introduce an ImageLoader-scoped listener named EventListener. This is useful for analytics, performance, or other metrics tracking.

Fixes #310.

BREAKING CHANGE: Pass the full request object to Request.Listener instead of just its data.

@colinrtwhite colinrtwhite changed the title Introduce an ImageLoader-scoped listener named EventListener. Introduce EventListener. Mar 15, 2020
@colinrtwhite colinrtwhite force-pushed the colin/event_listener branch from 014cb54 to fef5db3 Compare March 15, 2020 07:31
@colinrtwhite colinrtwhite force-pushed the colin/event_listener branch from fd8348a to 0a4887c Compare March 18, 2020 20:36
@colinrtwhite colinrtwhite merged commit df9481f into master Mar 19, 2020
@colinrtwhite colinrtwhite deleted the colin/event_listener branch March 19, 2020 06:33
colinrtwhite added a commit that referenced this pull request Oct 5, 2022
* Introduce EventListener. Change Request.Listener to receive the request.

* Pass Options as well.

* Docs.

* Re-arrange.

* Docs.

* Docs.

* Add test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ImageLoader event listener API.

1 participant