Camber.server.run: def of bend-kit-camber@0.15.0.1 Import: import bend-kit-camber@0.15.0.1/camber.bend as Camber Lines 1224-1238 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=1224&end_line=1238 import Base import bend-kit-http@0.38.1.1/http.bend as Http import bend-kit-http@0.38.1.1/completion.bend as TransportCompletion import bend-kit-camber@0.15.0.1/notices.bend as Notices def server.run(~A: Data, ~S: Type, ~K: Data, ~H: Data, ~E: Data, ~done: TransportCompletion.Completion> -> IO(Unit), ~observe: U32 -> TransportCompletion.Outcome -> IO(Unit), ~notify: K -> Policy -> Notices.Notice -> IO(Result<&2, &2, E, Unit>), ~report: K -> E -> IO(Unit), ~access: K -> Notices.Access, server: Server ) -> IO(ServerExit): Server{transport, owner} = server do IO>: exited : Http.ServerExit <- Http.server.run(~ServingContext, ~(context => req => server.handle(~A, ~S, ~K, ~H, ~(completion => server.completed(~K, ~H, ~E, ~notify, ~report, ~access, ~done, completion)), context, req)), ~(context => status => outcome => observe(status, outcome)), transport) closed : OwnerClose>, BufferedRequest, Unit, ApplicationReport> <- close(S, Application>, BufferedRequest, Unit, ApplicationReport, owner) return ServerExit{exited, closed} Uses (23): 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=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=ApplicationReport https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=BufferedRequest https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=OwnerClose 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=Server https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=ServerExit https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=ServingContext https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=close https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=server.completed https://jend.leeeet.dev/definition.txt?path=bend-kit-camber@0.15.0.1/camber.bend&name=server.handle 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.4.0/completion.bend&name=Completion https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/completion.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=ServerExit https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=server.run