throttleGetGroupInfo property

dynamic throttleGetGroupInfo
final

Implementation

final throttleGetGroupInfo = OptimizeUtils.throttle((val) async {
  String groupID = val["groupID"];
  List<String> memberList = val["memberList"];
  final res = await TencentImSDKPlugin.v2TIMManager
      .getGroupManager()
      .getGroupMembersInfo(groupID: groupID, memberList: memberList);
  emitGroupCbList(res.data ?? []);
  clearGroupCbList();
}, 1000);