There's an example in the GitHub release: https://github.com/mendixlabs/pusher-notify-listen/releases/tag/v1.0.1
That should have an implementation that you can copy or re-use.