Communication with server and client <nextjs>
i have a webhook which calls nextjs api, can that api call do something which triggers an action on


// on the API route that receives the webhook request
pusher.trigger('my-channel', 'my-event', {
"message": "hello world"
});
// on the client side
// connect to pusher and listen to events