Closed gvdongen closed 9 months ago
Use syntax similar to:
const router = restate.keyedRouter({ greet: async (ctx: restate.RpcContext, name: string) => { return `Hello ${name} :-)`; }, });
to have easier overview of which routers functions are binded to.
### Tasks - [ ] https://github.com/restatedev/examples/issues/84 - [ ] https://github.com/restatedev/examples/issues/91 - [ ] https://github.com/restatedev/examples/issues/88
I have done this for some of the examples. Not all of them, since it's sometimes nice to see some different ways of implementing services.
Use syntax similar to:
to have easier overview of which routers functions are binded to.