The broadcaster options.
ReadonlynameA human-readable name (e.g. 'memory', 'redis').
ReadonlystoreOptionalpayload: TSet the management endpoint for the current invocation (rebuilds the client when it changes).
The https://<domain>/<stage> endpoint.
StaticcreateCreate a broadcaster.
The broadcaster options.
A new broadcaster.
A serverless Broadcaster for API Gateway WebSocket APIs.
With no held sockets, a broadcast reads the channel's members from the shared store and posts to each connection via the API Gateway Management API. The management endpoint is per-invocation (it comes from the event), so the adapter calls useEndpoint before dispatching. Local listeners are also notified, for handlers that react within the same invocation.