Skip to content
This repository was archived by the owner on Apr 23, 2019. It is now read-only.
This repository was archived by the owner on Apr 23, 2019. It is now read-only.

What's the idea with the Broadcast Hub in UserActor? #103

Description

@mrwillis

Hi,

I'm trying to wrap my head around with the design of this example. One thing that is confusing me is the hubSource in UserActor. Why is it required that there is a fan-out mechanism here? I understand that sending stuff to the hubSink will propogate to the client via the websocketFlow, but I'm not sure what the requirement for the multiple consumers of the flow. Isn't UserActor created for each WebSocket connection via the UserParentActor? If so, who are the extra subscribers if they are not the users?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions