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
@@ -63,6 +64,7 @@ export class ElementEndpoint<TEntity> extends ETagEndpointBase {
63
64
/**
64
65
* Sets/replaces the `TEntity`.
65
66
* @param entity The new `TEntity`.
67
+
* @param signal Used to cancel the request.
66
68
* @returns The `TEntity` as returned by the server, possibly with additional fields set. undefined if the server does not respond with a result entity.
67
69
* @throws {@link ConcurrencyError}: The entity has changed since it was last retrieved with {@link read}. Your changes were rejected to prevent a lost update.
@@ -114,6 +116,7 @@ export class ElementEndpoint<TEntity> extends ETagEndpointBase {
114
116
* Reads the current state of the entity, applies a change to it and stores the result. Applies optimistic concurrency using automatic retries.
115
117
* @param updateAction A callback that takes the current state of the entity and applies the desired modifications.
116
118
* @param maxRetries The maximum number of retries to perform for optimistic concurrency before giving up.
119
+
* @param signal Used to cancel the request.
117
120
* @returns The `TEntity` as returned by the server, possibly with additional fields set. undefined if the server does not respond with a result entity.
118
121
* @throws {@link ConcurrencyError}: The maximum number of retries to perform for optimistic concurrency before giving up.
@@ -145,11 +148,14 @@ export class ElementEndpoint<TEntity> extends ETagEndpointBase {
145
148
146
149
/**
147
150
* Deletes the element.
151
+
* @param signal Used to cancel the request.
148
152
* @throws {@link ConcurrencyError}: The entity has changed since it was last retrieved with {@link read}. Your changes were rejected to prevent a lost update.
0 commit comments