Skip to content

Refactor handlers to be sync-agnostic #1770

Description

@GitGab19

The current handlers trait is heavily tied to Mutex-based synchronization.

Since this trait is part of roles_logic_sv2, and it's intended for building custom roles, it shouldn't enforce any specific sync strategy.

We’ve recently improved the channel modules to be agnostic in this regard (see #1630) , and handlers should follow the same principle imo.

The trait should define behavior, not implementation constraints like synchronization.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Done ✅

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions