RongIMLib
View Markdown
Preparing search index...
IConversationCachePolicy
Interface IConversationCachePolicy
会话列表缓存策略
Since
5.38.0
interface
IConversationCachePolicy
{
limit
?:
number
;
ultraGroupLimit
?:
number
;
customEviction
?:
(
conversation
:
IReceivedConversation
[]
,
)
=>
IReceivedConversation
[]
;
}
Index
Properties
limit?
ultra
Group
Limit?
custom
Eviction?
Properties
Optional
limit
limit
?:
number
单群聊会话列表缓存数量限制
Optional
ultra
Group
Limit
ultraGroupLimit
?:
number
超级群会话列表缓存数量限制
Optional
custom
Eviction
customEviction
?:
(
conversation
:
IReceivedConversation
[]
,
)
=>
IReceivedConversation
[]
自定义会话列表缓存淘汰策略
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
limit
ultra
Group
Limit
custom
Eviction
RongIMLib
Loading...
会话列表缓存策略
Since
5.38.0