Skip to content
public-library›Rules›Concurrency›Apply asynchronous results only while they remain valid

Apply asynchronous results only while they remain valid

Apply an asynchronous result only while it still belongs to the intended owner and is permitted to update the destination state under the operation's contract. Enforce this at every path that can publish a result, including background reads and cache updates.

In the full rule