Re: [capnproto] getTimer in RPC & transparent proxy?

2021-03-25 Thread 'Kenton Varda' via Cap'n Proto
On Thu, Mar 25, 2021 at 11:38 AM pepij...@gmail.com wrote: > > Hey, > > Another one of these things that's probably good design but somewhat > puzzling. > How do I obtain a timer in my RPC server? > I found you need to get them from the async IO provider. > The easyrpc server has a method to get

[capnproto] Re: getTimer in RPC & transparent proxy?

2021-03-25 Thread Ryan Patterson
On Friday, March 26, 2021 at 12:38:43 AM UTC+8 pepij...@gmail.com wrote: > > Similarly I saw a few mentions of HTTP and websocket stuff, but is there > actually a way to use Capnproto over a websocket? > This might not be what you're looking for, but I took the fasterthanlime fork of capnp-ts a

Re: [capnproto] getTimer in RPC & transparent proxy?

2021-03-25 Thread Ian Denhardt
Quoting pepij...@gmail.com (2021-03-25 12:38:43) > Similarly I saw a few mentions of HTTP and websocket stuff, but is > there actually a way to use Capnproto over a websocket? I need none of > that right now, but it's interesting to know what the options are. Not out of the box in the C++ impleme

[capnproto] getTimer in RPC & transparent proxy?

2021-03-25 Thread pepij...@gmail.com
Hey, Another one of these things that's probably good design but somewhat puzzling. How do I obtain a timer in my RPC server? I found you need to get them from the async IO provider. The easyrpc server has a method to get it, but then I'm stuck. I need to somehow pass the timer to my server impl