Middleware: Composite

The shape of a composite produced by defineComposite.

The same three call signatures as Middleware, so a composite is usable everywhere a middleware is — nested (wsup(config, handler)) or flat (pipeline([wsup(config)], handler)) — from one declaration. The only difference is that Contributes is a record rather than a single key.

Parameters