Protected
handlerProtected
paramsAn array of CloudEvents to be processed.
Optional
options: CloudEventRouterHandlerOptionsA Promise resolving to an array of processed CloudEvents.
Create the Async API spec 3.0.0 docs for this router
Optional
params: { Optional
bindings?: objectOptional
servers?: objectJSON of the Async API docs
Gets an array of interfaces representing the configurations of registered CloudEventHandlers.
An array of objects representing the CloudEventHandler interfaces.
// Example usage to get the interfaces
const interfaceInfoArray = myCloudEventRouter.getInterface();
console.log(interfaceInfoArray);
Generated using TypeDoc
Processes an array of CloudEvents using registered CloudEventHandlers.