You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> note: ack must be the last parameter in `emit`, otherwise it will be `null`
190
+
172
191
#### `@SocketQueryParam()` decorator
173
192
174
193
To get received query parameter use `@SocketQueryParam()` decorator.
@@ -468,29 +487,84 @@ You can enable scoped controllers by providing a `scopedContainerGetter` functio
468
487
469
488
You will get a new instance for each event in the controller.
470
489
471
-
The `scopedContainerGetter` function receives a parameter which contains the socket, socket.io instance, event type, event name, namespace parameters and the message arguments if they are applicable.
490
+
The `scopedContainerGetter` function receives the `SocketEventContext`.
491
+
492
+
The `scopedContainerDisposer` function receives the container instance you created with `scopedContainerGetter` after the socket action is finished. Use this function to dispose the container if needed.
0 commit comments