Similar to the SequentialHook, but allows to pass a different entity for each execute call
This function is only used internally for proxies
Subscribe to the event / hook
A token that can be used to unsubscribe from the event / hook later on
A callback that will be invoked when the event / hook occurs
Remove a listener
The token that was specified when subscribing to the listener. An invalid token does not result in an error.
Similar to the SequentialHook, but allows to pass a different entity for each execute call