Timeout in milliseconds for close operation to complete. Any requests that have not completed before the timeout are aborted.
Logger to use that conforms to bunyan's logger interface.
List of services in the dispatcher.
Closes the dispatcher. If any requests do not complete within 'closeTimeout', they are aborted.
Optional. Called after dispatcher is closed.
Dispatches a request.
The request to dispatch.
Validates that the dispatcher is correctly configured.
Generated using TypeDoc
Responsible for dispatching service requests.
Events
closing
- Triggered when close is called on the RequestDispatcher. This event indicates that the dispatcher is no longer accepting new requests.closed
- Triggered after the RequestedDispatched closes. This event indicates that all pending requests have completed or timed out.error
- Trigger if an unhandled exception is raised in an operation. This event is only relevant if an OperationContext is created.