I’m using the gRPC client to get a partitioned projection but I can’t figure out the difference between the methods GetResultAsync and GetStateAsync.
The GetStateAsync always returns an exception:
System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
When should I use it?