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
#906 -Added methods in status API supports for saving and reading binary data (#1116)
* Added methods in status API supports for direct storage and reading of byte arrays #906
Signed-off-by: Divya Perumal <[email protected]>
Signed-off-by: Divya Perumal <[email protected]>
/// Saves the provided <paramref name="binaryValue" /> associated with the provided <paramref name="key" /> to the Dapr state
856
+
/// store
857
+
/// </summary>
858
+
/// <param name="storeName">The name of the state store.</param>
859
+
/// <param name="key">The state key.</param>
860
+
/// <param name="binaryValue">The binary data that will be stored in the state store.</param>
861
+
/// <param name="stateOptions">Options for performing save state operation.</param>
862
+
/// <param name="metadata">A collection of metadata key-value pairs that will be provided to the state store. The valid metadata keys and values are determined by the type of state store used.</param>
863
+
/// <param name="cancellationToken">A <see cref="CancellationToken" /> that can be used to cancel the operation.</param>
864
+
/// <returns>A <see cref="Task" /> that will complete when the operation has completed.</returns>
///Saves the provided <paramref name="binaryValue" /> associated with the provided <paramref name="key" /> using the
875
+
/// <paramref name="etag"/> to the Dapr state. State store implementation will allow the update only if the attached ETag matches with the latest ETag in the state store.
876
+
/// </summary>
877
+
/// <param name="storeName">The name of the state store.</param>
878
+
/// <param name="key">The state key.</param>
879
+
/// <param name="binaryValue">The binary data that will be stored in the state store.</param>
880
+
/// <param name="etag">An ETag.</param>
881
+
/// <param name="stateOptions">Options for performing save state operation.</param>
882
+
/// <param name="metadata">A collection of metadata key-value pairs that will be provided to the state store. The valid metadata keys and values are determined by the type of state store used.</param>
883
+
/// <param name="cancellationToken">A <see cref="CancellationToken" /> that can be used to cancel the operation.</param>
884
+
/// <returns>A <see cref="Task" /> that will complete when the operation has completed.</returns>
/// <param name="metadata">A collection of metadata key-value pairs that will be provided to the state store. The valid metadata keys and values are determined by the type of state store used.</param>
902
+
/// <param name="cancellationToken">A <see cref="CancellationToken" /> that can be used to cancel the operation.</param>
903
+
/// <returns>A <see cref="Task{T}" /> that will return the value when the operation has completed.</returns>
/// <param name="metadata">A collection of metadata key-value pairs that will be provided to the state store. The valid metadata keys and values are determined by the type of state store used.</param>
918
+
/// <param name="cancellationToken">A <see cref="CancellationToken" /> that can be used to cancel the operation.</param>
919
+
/// <returns>A <see cref="Task{T}" /> that will return the value when the operation has completed. This wraps the read value and an ETag.</returns>
/// Tries to save the state <paramref name="value" /> associated with the provided <paramref name="key" /> using the
855
929
/// <paramref name="etag"/> to the Dapr state. State store implementation will allow the update only if the attached ETag matches with the latest ETag in the state store.
0 commit comments