From 38fb4cc607699c399802147ef2d79b7f93d8b662 Mon Sep 17 00:00:00 2001 From: Rafael Prieto Date: Sat, 23 Jul 2022 12:12:22 +0200 Subject: [PATCH] Fix documentation displaying wrong function name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a65bc02..e2217c4 100644 --- a/README.md +++ b/README.md @@ -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(eventName: string): Promise` +### `socket.fromOneTimeEvent(eventName: string): Promise` Creates a Promise for a one-time event.