Skip to content

Commit 2caf56b

Browse files
committed
Fix comment in example
Signed-off-by: Ondrej Fabry <[email protected]>
1 parent f9786a4 commit 2caf56b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/stream-client/stream_client.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,7 @@ Loop:
290290
}
291291
}
292292

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

298296
// start watcher for specific event message

0 commit comments

Comments
 (0)