Skip to content

Make channel_sv2 remove API sound #2078

@Shourya742

Description

@Shourya742

Currently, the remove APIs in channel_sv2 are fire-and-forget and do not indicate whether an element was removed. As a result, callers often need to check for the element’s presence before invoking the remove operation. Providing clearer feedback from these APIs could help simplify usage and keep state handling within the owning abstraction.

Example of this can be found here: stratum-mining/sv2-apps#244 (comment)

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