Skip to content

Consolidate and make channels names (client_id / service_id) optional #187

@llucax

Description

@llucax

What's needed?

A clean and consistent interface to create channels, and one that doesn't require to pass strings used for debugging only.

Proposed solution

  • Join both client_id and service_id from Anycast constructor into an name argument to match Broadcast.

  • Make name optional

    If name is None I would just generate a uuid or just id() (in a distributed context, uuid will make any unlikely collision even more unlikely).

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:channelsAffects channels implementationscope:breaking-changeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions