Camber.dispatch: def of bend-kit-camber@0.15.0.1 Import: import bend-kit-camber@0.15.0.1/camber.bend as Camber Lines 959-972 of bend-kit-camber@0.15.0.1/camber.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-camber@0.15.0.1/camber.bend&start_line=959&end_line=972 import Base import bend-kit-http@0.38.1.1/http.bend as Http import bend-kit-camber@0.15.0.1/notices.bend as Notices import bend-kit-time@0.3.0.0/time.bend as Time # The same application pipeline is used live; only this boundary emits direct notices. def dispatch(~A: Data, ~S: Type, ~K: Data, ~E: Data, ~H: Data, ~N: Data, ~before_hook: H -> S -> K -> Metadata -> IO(Step), ~after_hook: H -> S -> K -> Http.Res -> IO(S & Result<&2, &1, Error, Http.Res>), ~run: A -> S -> K -> Match> -> Http.Req -> IO(S & Result<&2, &1, Error, Http.Res>), ~mapper: S -> K -> Error -> IO(S & Result<&2, &1, Error, Http.Res>), ~notify: N -> Policy -> Notices.Notice -> IO(Result<&2, &2, E, Unit>), ~report: N -> E -> IO(Unit), observer: N, access: Notices.Access, app: Application>, state: S, req: Http.Req ) -> IO(Completion): do IO>: started : Time.Duration <- Time.mono() completion : Completion <- dispatch.application(~A, ~S, ~K, ~E, ~H, ~before_hook, ~after_hook, ~run, ~mapper, app, state, req) dispatch.completed(~S, ~N, ~H, ~E, ~notify, ~report, observer, access, started, completion) Uses (20): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Application https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Completion https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Match https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Metadata https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Policy https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=Step https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=dispatch.application https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=dispatch.completed https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/notices.bend&name=Access https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/notices.bend&name=Notice https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Req https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kit-time@0.3.0.0/time.bend&name=Duration https://jend.leeeet.dev/definition.txt?path=bend-kit-time@0.3.0.0/time.bend&name=mono