The GCS Channel documentation does not show any example of how the Javascript channel object receives or handles notification. The Object Change Notification article shows how an endpoint would receive a notification via a POST request but no Javascript example shows how one is received by the channel.
One can only speculate that the channel object emits a change event or perhaps inherits from ReadableStream. Perhaps adding an example of a channel receiving a notification would be helpful.
The GCS Channel documentation does not show any example of how the Javascript channel object receives or handles notification. The Object Change Notification article shows how an endpoint would receive a notification via a POST request but no Javascript example shows how one is received by the channel.
One can only speculate that the channel object emits a
changeevent or perhaps inherits fromReadableStream. Perhaps adding an example of a channel receiving a notification would be helpful.