Ably & Next.js fundamentals
← HomeAbly History with Next.js
Retrieve a history of messages that have been published to a channel.
Publish messages via the Pub/Sub example
Messages are only stored for 2 minutes by default. In order for them to be stored for longer you should enable the Persist all messages channel rule for the status-updates channel in your Ably app.
History
No historical messages found
Realtime
No realtime messages received yet