Skip to content

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

@AyaMagdyMohamed

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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