Skip to content

subscribe to channel events , get all event's of other channels  #153

Description

@AyaMagdyMohamed

Hello i make subscribtion of event's of specific channel , but i receive events of another channel as well

channel := ca.ariClient.Channel().Get(ca.leg.Key())

sub := channel.Subscribe(ari.Events.All)
go func() {
for {
isDone := false
e := <-sub.Events()
fmt.Println("---------Receive event: ---------------", e)
}
}

here e print all events of all channels

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