ChannelHistoryLength
is an option to ChannelListen that specifies the maximum number of messages to cache in the channel listener object.
Details
- The default value of ChannelHistoryLength is 100.
- The following settings can be used:
-
Infinity all messages n the n most recent messages
Examples
Basic Examples (1)
Create a channel listener with ChannelHistoryLength set to 10:
Send 20 messages to the channel:
Wolfram Research (2020), ChannelHistoryLength, Wolfram Language function, https://reference.wolfram.com/language/ref/ChannelHistoryLength.html.
Text
Wolfram Research (2020), ChannelHistoryLength, Wolfram Language function, https://reference.wolfram.com/language/ref/ChannelHistoryLength.html.
CMS
Wolfram Language. 2020. "ChannelHistoryLength." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChannelHistoryLength.html.
APA
Wolfram Language. (2020). ChannelHistoryLength. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChannelHistoryLength.html