Skip to content

Comments

Comply with EventSource specification#54

Open
hos wants to merge 1 commit intobinaryminds:masterfrom
hos:master
Open

Comply with EventSource specification#54
hos wants to merge 1 commit intobinaryminds:masterfrom
hos:master

Conversation

@hos
Copy link

@hos hos commented May 23, 2024

As describe in specification, the instance of EventSource must have methods onopen, onmessage , onerror.
This PR will add check in dispatch method, to call handlers added as eventSource.method.

@edkimmel
Copy link

Can this be reviewed / merged? It helps simplify polyfilling global.EventSource using this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants