Closed ApexModder closed 1 year ago
Adds remaining overloads to match the following patterns [...] - meaning optional
[...] - meaning optional
addListener([priority], [receiveCancelled], [eventType], consumer)
addGenericListener(genericClassFilter, [priority], [receiveCancelled], [eventType], consumer)
Updated tests to use these new overloads rather than passing in the default priority / receiveCancelled values.
priority
receiveCancelled
I want to remove generic events. But that doesn't mean this PR can't be merged - the added functions can be removed when we remove generic events.
Adds remaining overloads to match the following patterns
[...] - meaning optional
addListener([priority], [receiveCancelled], [eventType], consumer)
addGenericListener(genericClassFilter, [priority], [receiveCancelled], [eventType], consumer)
Updated tests to use these new overloads rather than passing in the default
priority
/receiveCancelled
values.