Skip to content

Is there an idiomatic way to tee for each match? #7

Description

@christianbundy

Let's say you have a stream like:

{ "name": "Aardvark", "text": "hey" }
{ "name": "Baboon", "text": "hello" 
{ "name" "Aardvark": "text": "wanna watch a movie" }

I want to tee, but instead of ending up with two streams I want to spawn one stream per .name. In the above example, I should end up with two streams, one for Aardvark and one for Baboon. If there are more participants, I'd like to have more streams. Is there a canonical way to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions