Attribute Macro interthread::group

source ·
#[group]
Expand description

Currently under development (((

The group macro, although not currently included in the interthread crate.It aims to address several critical challenges encountered when working with the actor macro:

  • Instead of creating separate threads for each object, the group macro will enable the user to create an actor that represents a group of objects, consolidating their processing and execution within a single thread.

  • In scenarios where objects are already created or imported, and the user does not have the authority to implement additional methods such as “new” or “try_new”, the group macro should offer a way to include these objects as part of the actor system.

Although the group macro is not currently part of the interthread crate, its development aims to offer a comprehensive solution to these challenges, empowering users to efficiently manage groups of objects within an actor system.

Check interthread on ‘GitHub’