You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add support of async serializer?
System.Text.Json IAsyncEnumerable serialization
If you want to serialize IAsyncEnumerable in net6+ app you need to use JsonSerializer.SerializeAsync() method
IRestSerializer does not allow to await inside Serializer() as it's synchronious method.
Temporary solution - using GetAwaiter().GetResult() - but this approach doesn't offer "true" async support
The text was updated successfully, but these errors were encountered:
Would it be possible to add support of async serializer?
System.Text.Json IAsyncEnumerable serialization
If you want to serialize IAsyncEnumerable in net6+ app you need to use JsonSerializer.SerializeAsync() method
IRestSerializer does not allow to await inside Serializer() as it's synchronious method.
Temporary solution - using GetAwaiter().GetResult() - but this approach doesn't offer "true" async support
The text was updated successfully, but these errors were encountered: