Company
Date Published
Author
Pusher (Team)
Word count
391
Language
English
Hacker News points
None

Summary

Pusher has updated its dashboard to include integration with Serverless Functions, allowing users to manage real-time tasks and respond to events programmatically without dealing with the complexities of serverless infrastructure. This enhancement makes it possible to handle functions, stream logs, and manage configuration variables directly from the dashboard, a capability previously limited to the Pusher CLI. Users can write their function code, package it, and upload it via the dashboard to respond to various channel events like client or presence events. These functions can serve multiple purposes, including auditing, debugging, data synchronization, real-time translation, and chat moderation. Although live streaming of function logs is exclusively available on the dashboard, all other functionalities previously accessible through the CLI are now integrated into the dashboard. To utilize these functions, users must log into their Pusher account, navigate to the Functions section, and set up their functions by specifying triggers, type, and uploading the function code.