File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -746,6 +746,9 @@ export class Server<
746
746
/**
747
747
* Gets a list of socket ids.
748
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
+ *
749
752
* @public
750
753
*/
751
754
public allSockets ( ) : Promise < Set < SocketId > > {
Original file line number Diff line number Diff line change @@ -341,7 +341,9 @@ export class Namespace<
341
341
/**
342
342
* Gets a list of clients.
343
343
*
344
- * @return self
344
+ * @deprecated this method will be removed in the next major release, please use {@link Namespace#serverSideEmit} or
345
+ * {@link Namespace#fetchSockets} instead.
346
+ *
345
347
* @public
346
348
*/
347
349
public allSockets ( ) : Promise < Set < SocketId > > {
You can’t perform that action at this time.
0 commit comments