We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596eb88 commit e6f6b90Copy full SHA for e6f6b90
lib/index.ts
@@ -746,6 +746,9 @@ export class Server<
746
/**
747
* Gets a list of socket ids.
748
*
749
+ * @deprecated this method will be removed in the next major release, please use {@link Server#serverSideEmit} or
750
+ * {@link Server#fetchSockets} instead.
751
+ *
752
* @public
753
*/
754
public allSockets(): Promise<Set<SocketId>> {
lib/namespace.ts
@@ -341,7 +341,9 @@ export class Namespace<
341
342
* Gets a list of clients.
343
344
- * @return self
+ * @deprecated this method will be removed in the next major release, please use {@link Namespace#serverSideEmit} or
345
+ * {@link Namespace#fetchSockets} instead.
346
347
348
349
0 commit comments