Advanced Listeners
Advanced listeners (callback functions) can provide some insight into the events that triggered the pattern. Advanced listeners have an opaque object but otherwise the signature is the same as the simple listener.
The opaque object contains information about the events in the pattern set. Various provided functions enable you to get information from the object, for example, Pattern.Advanced.getEventIds(opaque).
Copyright © Cloud Software Group, Inc. All rights reserved.