Skip to content

Commit a630484

Browse files
docs: Improved readability in events.md (#3570)
1 parent d618677 commit a630484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ messages.remove(1)
151151

152152
## Custom events
153153

154-
By default, real-time clients will only receive the [standard events](#service-events). However, it is possible to define a list of custom events that should also be sent to the client when registering the service with [app.use](./application.md##use-path-service-options) when `service.emit('customevent', data)` is called on the server. The `context` for custom events won't be a full hook context but just an object containing `{ app, service, path, result }`.
154+
By default, real-time clients will only receive the [standard events](#service-events). However, it is possible to define a list of custom events that should also be sent to the client when registering the service with [app.use](./application.md##use-path-service-options), when `service.emit('customevent', data)` is called on the server. The `context` for custom events won't be a full hook context but just an object containing `{ app, service, path, result }`.
155155

156156
<BlockQuote type="warning" label="important">
157157

0 commit comments

Comments
 (0)