# CommandsObserver

## register

`register(listener: CommandsListener): EventSubscription`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/CommandsObserver.ts#L9)

---

## notify

`notify(commandName: string, params: __type): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/CommandsObserver.ts#L17)

---


