Skip to content

Commit

Permalink
Merge pull request #136 from RafaPC/fix-documentation-typo
Browse files Browse the repository at this point in the history
Fix readme displaying wrong function name
  • Loading branch information
rodgc authored Sep 12, 2022
2 parents ffc3065 + 38fb4cc commit 34d0de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Works the same as in Socket.IO.

Takes an event name and returns an Observable that you can subscribe to.

### `socket.fromEventOnce<T>(eventName: string): Promise<T>`
### `socket.fromOneTimeEvent<T>(eventName: string): Promise<T>`

Creates a Promise for a one-time event.

Expand Down

0 comments on commit 34d0de7

Please sign in to comment.