Skip to content

Use adapters for statically-typed slots #51

@ecorm

Description

@ecorm

Instead of complicating the Session API with dynamic/static variants of Session::subscribe and Session::enroll, simply provide an adapter functor which wraps a static slot and performs dynamic argument demarshalling.

Example:

session->subscribe(Topic("foo"), staticSlot(&myCallHandler), yield);

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions