🌐 AI搜索 & 代理 主页
Skip to content

optimistic create / update / patch / remove #7

@ahdinosaur

Description

@ahdinosaur

example: update

  • on start, set optimistic data.
  • if complete (success), set real data.
  • if error, rollback to previous data.

except when we have multiple concurrent updates:

  • keep track of the last real data.
  • set any new updates as optimistic data
  • only when all updates fail, rollback to previous data.

should probably draw this or something. /cc @pietgeursen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions