Skip to content

Compare and swap feature  #157

@asppsa

Description

@asppsa

This is to add a feature that when supported by a store allows atomic swapping of a value, as suggested in #156. This method signature would be something like:

swap(key, old, new) => Boolean

returning true iff the swap happened. The most obvious name for the feature would be :swap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions