Ha, I found an answer: https://github.com/grpc/grpc-web/issues/721
Be nice if these sort of details were pulled out issues into the main documentation. On Friday, January 22, 2021 at 1:40:27 PM UTC-5 Rob Cecil wrote: > Hi, I'm using the generated js code that uses Promises along with TS. > > Example method: > > getMenu( > request: Menu_pb.GetMenuRequest, > metadata?: grpcWeb.Metadata > ): Promise<Menu_pb.Menu>; > > I have been passing in the deadline via Metadata in the last argument of > the generated methods. > > How do I interrogate the response trailers using the Promise API ? > > Thanks > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a8a09aba-53b9-451f-b8ba-10f4abbc95f8n%40googlegroups.com.
