package middleware
Module Make2.DiverterSource
Source
type ('next_input, 'next_output, 'output, 'm) t = | Stop of ('output, 'm) M.t(*Control stops here, and
*)'outputis returned to the wrappingMiddleware.| Continue of 'next_input * ('next_output -> ('output, 'm) M.t)(*Control continues to the next
*)Middlewareg, which receives'next_inputas input. Aftergruns, its result is transformed with the given function.
Union, determining whether or not to run a subsequent Middleware or return early.