Skip to content

Commit 755829e

Browse files
fixup! Can I make a History Call to several Channels Simultaneously?
1 parent fc74d32 commit 755829e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pages/docs/storage-history/history.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ The Ably SDKs provide a straightforward API to retrieve paginated message event
3434

3535
### Multi-channel history limitations
3636

37-
History is stored per channel, and you cannot make a single call to retrieve history from multiple channels simultaneously. Each history request must target a specific channel.
37+
History is stored per channel. You cannot retrieve history from multiple channels in a single call. Each history request must target a specific channel.
3838

39-
To retrieve history from multiple channels, you must iterate over your list of channels and call the history method for each one. This can be done either synchronously (one after another) or asynchronously (in parallel), depending on your performance requirements:
39+
To retrieve history from multiple channels, iterate over your channels and call the history method for each one. You can do this synchronously (one after another) or asynchronously (in parallel):
4040

41-
* Synchronous approach - Call history for each channel sequentially, which is simpler but slower
42-
* Asynchronous approach - Make parallel history calls for better performance, then combine and sort results by timestamp if needed
41+
* Synchronous: Call history for each channel sequentially. Simpler but slower.
42+
* Asynchronous: Make parallel history calls for better performance. Combine and sort results by timestamp if needed.
4343

44-
This pattern is commonly used in applications that implement channel sharding, where related data is distributed across multiple channels.
44+
This pattern is commonly used when implementing channel sharding, where related data is distributed across multiple channels.
4545

4646
This example retrieves the latest message sent on a channel:
4747

0 commit comments

Comments
 (0)