deno.com

method EventSource.close

#EventSource.close(): void

Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.

Return Type #

void