RelationalAI / rai-sdk-csharp

The RelationalAI Software Development Kit (SDK) for C#
Apache License 2.0
0 stars 1 forks source link

Improve synchronous APIs #11

Closed stanislav-bedunkevich closed 2 years ago

stanislav-bedunkevich commented 2 years ago

Instead of using Thread.Sleep(seconds) we need to migrate toward using polling via the Polly library. This is going to help with resource management and also follow the async/await approach.

This includes adding retry logic to where necessary. This is applicable to the operations that wrap async API and provide a sync version of it.

stanislav-bedunkevich commented 2 years ago

Enables https://github.com/RelationalAI/rai-sdk-csharp/issues/10.

billscheidel-rai commented 1 year ago

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-6208.

This link is only accessible to employees of RelationalAI.