Skip to content

Commit

Permalink
Fix comment in example
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <[email protected]>
  • Loading branch information
ondrej-fabry committed Apr 11, 2024
1 parent f9786a4 commit 2caf56b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/stream-client/stream_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,7 @@ Loop:
}
}

// interfaceNotifications shows the usage of notification API. Note that for notifications,
// you are supposed to create your own Go channel with your preferred buffer size. If the channel's
// buffer is full, the notifications will not be delivered into it.
// interfaceNotifications demonstrates how to watch for interface events.
func interfaceNotifications(conn api.Connection, index interface_types.InterfaceIndex) {

// start watcher for specific event message
Expand Down

0 comments on commit 2caf56b

Please sign in to comment.