Closed felipecespedes closed 4 years ago
returns subscription when calling the addEventListener() method then we can call the remove() method to unsubscribe
addEventListener()
remove()
const subscription = Tts.addEventListener(type, handler); // Then to unsubscribe subscription.remove();
returns subscription when calling the
addEventListener()
method then we can call theremove()
method to unsubscribe