externalEventHandler
The parameter externalEventHandler is a method injected inside the store, allowing you to catch every action send inside the directline channel. This method has two entry parameters :
the first one is the current action, the second one a dispatch method used to send a specific action inside the directline channel.
This method returns a boolean that indicates if the current action should be stopped (true) or should continue as expected (false).
| Name | Incoming parameter | Return parameter | type | Description |
|---|---|---|---|---|
action | Yes | No | complete list | Current action in directline |
dispatch | Yes | No | Internal method for action dispatch in botframework | |
| - | No | Yes | boolean | Method's return, true to stop the execution of the curretn action, false otherwise |