open-im-sdk-ios icon indicating copy to clipboard operation
open-im-sdk-ios copied to clipboard

[API design]: Why not return conversation synchronously?

Open AnnaSearl opened this issue 1 year ago • 1 comments

What would you like to share?

I found that the API related to get conversation in the document are all asynchronous. Why don't they return synchronously? This will be more convenient and easier to use. image image image

Additional information

No response

AnnaSearl avatar Feb 27 '24 07:02 AnnaSearl

Just like this - (OIMConversationInfo *)getConversation:(NSString *)conversationId

AnnaSearl avatar Feb 27 '24 07:02 AnnaSearl

Hi, for UI smoothness.

std-s avatar Aug 07 '24 07:08 std-s