]
Galder Zamarreño updated HRJS-43:
---------------------------------
Labels: hackathon (was: )
Finer grained removeListener operation
--------------------------------------
Key: HRJS-43
URL:
https://issues.jboss.org/browse/HRJS-43
Project: Infinispan Javascript client
Issue Type: Enhancement
Reporter: Galder Zamarreño
Priority: Minor
Labels: hackathon
When adding listeners, it's possible to reuse the same listener id as shown in the
[README
example|https://github.com/infinispan/js-client#remote-events].
When it comes to removing the listener, it only takes the listener ID, which means that
all listeners callbacks associated with that listener id are removed.
It would be nice to add an extra parameter to remoteListener so that it optionally takes
the function associated with a listener id to remove.