question

Luc avatar image
Luc asked

Is there an overview of which API calls can and cannot be ran synchronously?

I'd like to call *AddUserVirtualCurrencyAsync* and *GrantItemsToUserAsync* at the same time, to reduce total call duration.

I know for example I cannot call multiple *SetTitleData* calls at the same time, even on different keys.

apisPlayer DataPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Rick Chen avatar image
Rick Chen answered

In general, those APIs that read/write the same resources should not be called at the same time. For other APIs, if you receive some error indicating too many simultaneous calls or very rapid sequential calls, you can use the exponential retry strategy to retry the failed API calls.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.