new FilterChainPromiseExecutor(preFiltersopt, postFiltersopt)
The FilterChainExecutor is the 'engine' of SkillVC in that it controls the execution of
all the registered filters (including intent handling which is treated as a filter).
This works by iterating over the list of registered filters and, when a `Promise` is discovered, waits
until the completion, and then continues over the loop
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
preFilters |
Filter |
<optional> |
The pre filters to execute |
postFilters |
Filter |
<optional> |
The post filters to execute |
- Source:
- See:
Methods
execute(svContext) → {Promise}
Start the execution
Parameters:
Name | Type | Description |
---|---|---|
svContext |
SVContext | The SVContext to use for execution |
Returns:
The `Promise` that can be used to wait until this completes
- Type
- Promise