The structural shape both behaviour contracts satisfy, and the element type
of composeBehaviorChain's behaviors array.
IPipelineBehavior and IIngressBehavior both satisfy this structurally —
neither needed to change — which is what lets one composer serve both the
CQRS pipeline and the four non-HTTP ingress chains.
The chain result. Returning WITHOUT calling next short-circuits
the chain: downstream behaviours and the terminal are skipped and this
value becomes the result.
The structural shape both behaviour contracts satisfy, and the element type of
composeBehaviorChain'sbehaviorsarray.IPipelineBehaviorandIIngressBehaviorboth satisfy this structurally — neither needed to change — which is what lets one composer serve both the CQRS pipeline and the four non-HTTP ingress chains.Since
0.3.0