Handles the incoming event, processes it, and invokes the next middleware in the pipeline.
The adapter context containing the raw event, execution context, and other data.
The next middleware to be invoked in the pipeline.
A promise that resolves to the processed context.
Middleware for handling incoming events in the Node CLI adapter.
This middleware processes the incoming event and prepares it for the next middleware in the pipeline.