Add a an assertion on the added listener not having a trailing chain instead of silently overwriting it, point out the precondition in the documentation, and guide users who want to add more than one listener towards a more efficient way.
Add a an assertion on the added listener not having a trailing chain instead of silently overwriting it, point out the precondition in the documentation, and guide users who want to add more than one listener towards a more efficient way.