From ec846c74ded27bcf28cd563a5cf252298ccb5874 Mon Sep 17 00:00:00 2001 From: Myukang <76278794+koreanddinghwan@users.noreply.github.com> Date: Wed, 18 Oct 2023 23:13:28 +0900 Subject: [PATCH] Update content/techniques/events.md Co-authored-by: Micael Levi L. Cavalcante --- content/techniques/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/techniques/events.md b/content/techniques/events.md index f11387a55d..fc135d70e8 100644 --- a/content/techniques/events.md +++ b/content/techniques/events.md @@ -117,7 +117,7 @@ handleOrderCreatedEvent(payload: OrderCreatedEvent) { } ``` -> info **Hint** read more about ([listener options object](https://github.com/EventEmitter2/EventEmitter2#emitteronevent-listener-options-objectboolean)). +> info **Hint** read more about the [`OnOptions` options object from `eventemitter2`](https://github.com/EventEmitter2/EventEmitter2#emitteronevent-listener-options-objectboolean). To use namespaces/wildcards, pass the `wildcard` option into the `EventEmitterModule#forRoot()` method. When namespaces/wildcards are enabled, events can either be strings (`foo.bar`) separated by a delimiter or arrays (`['foo', 'bar']`). The delimiter is also configurable as a configuration property (`delimiter`). With namespaces feature enabled, you can subscribe to events using a wildcard: