Miscellaneous
sendSSEComment()
Signature
Section titled “Signature”sendSSEComment() — returns void
Available in: controller
Description
Section titled “Description”Send an SSE comment (keep-alive ping) through a streaming writer.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
writer | any | yes | — | The writer object returned by initSSEStream(). |
comment | string | no | ping | Optional comment text. |